[1.16.5] Sleep time/game time desync after crash
Whiskey-Sunshine opened this issue ยท 0 comments
What version of Somnia Awoken are you using?
Somnia Awoken 1.16.4-2.0.1
Minecraft 1.16.5
Forge version 36.1.2
Describe the bug
After a crash (specifically a ticking entity exception, I noticed) Somnia seems to treat the approximate in-game time of the crash as the new default "noon" as if the world were freshly created at that time. This results in an incorrect wake-up time when sleeping normally or using the clock to select a wakeup time, such as choosing 19:00 with the clock waking the player up shortly before 6:00, and sleeping in a bed at roughly 20:00 waking the player up at nearly 17:00 in-game time.
Is this bug related to another mod?
No
To Reproduce
Steps to reproduce the bug:
- Create world with Somnia installed and allow time to run for a period of time, preferably towards night
- Induce a crash caused by a ticking entity exception
- Load world and sleep by choosing a wake up time
- Wake up time and chosen sleep time will be desynced
Expected behavior
Wake up time and in game time stay synced at all times
Screenshots
Have a video showing the end result, instead:
https://www.dropbox.com/s/llavarvi78npj26/Minecraft_%201.16.5%20-%20Singleplayer%202021-04-02%2017-11-23.mp4?dl=0
Additional context
On a side note, I also experienced this on the 1.12.2-1.10.2 version as well. Also, no other crash types seem to cause this issue that I have experienced thus far.