Closed DrParadox7 closed 1 year ago
getWorldTime() returns the total time of the dimension, not its current time in ticks unlike I expected.
getWorldTime()
It makes the whole calculations for Solar and Lunar go out of whack after the first day is over.
This is fixed by applying a 24000 Modulus operator to it.
Looks good, thanks for the quick fix.
getWorldTime()
returns the total time of the dimension, not its current time in ticks unlike I expected.It makes the whole calculations for Solar and Lunar go out of whack after the first day is over.
This is fixed by applying a 24000 Modulus operator to it.