[Bug]: Sleep Time only works on first night
Squidney64 opened this issue ยท 1 comments
Describe the bug you're experiencing
I have the minimum sleep time set to the default settings and was doing some testing. I have this mod on a server with my friends and it doesn't work properly.
I went into a singleplayer world and tested it out. The game wouldn't let me sleep until 14500 on the first night, but every night afterwards, it would allow me to sleep normally. So the time at which the game allows you to sleep is only working on the first night.
Reproducability
- Open new world with commands
- Place bed
- /gamerule doDaylightCycle false
- /time set night
- Try to sleep and it won't let you
- /time add 24000 (switches to the same time on the next day)
- Try to sleep and you can sleep
Mod up to date
- Before submitting this issue I updated to the newest version and reproduced it
Minecraft version
1.19.2
Modloader version
Fabric
Logs
https://gist.github.com/Squidney64/08c17ea47ad723430cc9383b1bd5588d