Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamerule doDaylightcycle breaks some funktions #78

Open
Sukram28 opened this issue Jan 22, 2021 · 1 comment
Open

Gamerule doDaylightcycle breaks some funktions #78

Sukram28 opened this issue Jan 22, 2021 · 1 comment

Comments

@Sukram28
Copy link

Hey there,

First of thank you for this really cool plugin. I really love it!
But there is a small issue with Habor: When the gamerule doDaylightcycle is set to false and you are alone on a server, then the night is not skipped.

To recreate this bug: Setup a Server with Habor (Latest version), Spigot (latest Version 1.16.4).
Change the gamerule doDaylightcycle to false. Try to sleep. :/

You now may ask. Why would someone wants to sleep if there is no day cycle?
I'm using a custom time plugin and therfore I have to set his gamerule. Generally this also works fine. It only does not work if you are alone on a server or if 100% of all Player have to sleep.
Thank you for your really cool plugin. I hope this is possible to fix.

best regards
Markus

@Sukram28
Copy link
Author

I noticed now that sometimes it works even if the gamerule is set to false.
Really weird behavior. When the night is not skipped it seems like that the EnterBedEvent somehow is cancled, cause you instantly spawn in front of the bed after clicking it, otherwise you start actually sleeping with all enabled options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant