CMDred / TimeLib

A Minecraft Data Pack library that lets you get the real life date & time ingame.
MIT License
5 stars 0 forks source link

Bug: Short desync on world join #1

Open SilicatYT opened 10 months ago

SilicatYT commented 10 months ago

Bug:

When starting the singleplayer world (Not sure if it also happens on servers), sometimes the time is desynced by a few ticks. If you immediately pause the game after joining and unpause it, I've got the delay up to exactly 1 second.

Potential cause:

Unknown. It seems to happen since the 1.1.4 changes which made the time update run earlier than before. But it still checks if the command blocks are loaded before doing anything. So it's weird.

https://github.com/BluesCrew/TimeLib/assets/77808092/181a2449-edee-407b-9b3d-4d1559593861

SilicatYT commented 10 months ago

Additional info:

The same thing happens if you spam /reload, but it doesn't happen if you directly spam the update function.