Frequencies ate never triggered due to "unexpected" number of updates of world tick events
Closed this issue ยท 4 comments
The frequency repository is updated on every world tick event.
The frequency repository is updated several per turns.
The result is frequencies are never triggered.
Bug was introduced with #717 .
For more info: https://www.minecraftforge.net/forum/topic/28451-worldtickevent-running-multiple-times/
Observations:
In client with no server:
- ClientTickEvent is triggered
In client with logical server:
- ServerTickEvent is triggered
- ClientTickEvent is triggered
In physical server:
- ServerTickEvent is triggered
Solution is to introduce a server and a client frequency repository to handle the situation with client w/ logical server where tick event is trigger twice..
Resolved with commit e338d1b.
Part of #710.