MinetestForFun / server-minetestforfun-skyblock

Repository of the subgame and mods of "MinetestForFun Skyblock" server
https://www.xorhub.com
6 stars 3 forks source link

Time can be frozen by ANY player. #202

Closed aerozoic closed 7 years ago

aerozoic commented 7 years ago

If any player runs an empty time command "/time" 3 or 4 times within a couple seconds, it will freeze the day/night cycle until the nightly server reboot. :large_orange_diamond:

Lymkwi commented 7 years ago

I confirm this. It's weird. I don't understand how /time could affect the time and stop it. Source identified. It's TimeRegulation. When you input /time it doesn't check for a parameter and always assumes you changed the time, and computes a new time speed, a lower one. So it goes from 11 to 0.001 pretty fast.

BetterToAutomateTheWorld commented 7 years ago

Thank you for the fix @LeMagnesium