Bassebombecraft

Bassebombecraft

18.5k Downloads

Frequencies ate never triggered due to "unexpected" number of updates of world tick events

Closed this issue ยท 4 comments

commented

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/

commented

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
commented

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..

commented

Resolved with commit e338d1b.

commented

Part of #710.