Gamerule doDaylightCycle interferes with certain events
Hubry opened this issue ยท 0 comments
Forge version: 14.23.0.2512
Twilight Forest version: 3.0.0.114
Link to crash log: n/a
Steps to reproduce:
- Do
/gamerule doDaylightCycle false
- Try to create the portal by throwing a diamond, or while in the Twilight Forest try to enter a biome, without required advancements, that applies a potion effect to you (like the dark forest with blindness)
- If the expected result happened, do
/time add 1
and repeat step 2.
What I expected to happen: Portal gets created, potion effects are applied.
What happened instead: Nothing, even after waiting a while.
It seems that the result of world.getWorldTime()
is constant while this gamerule is set to false, resulting in things checking it to see if time passed either never fire, or fire every tick with a low chance.