Fixed updateEveryXTicks being inconsistent due to using entity's ticksExisted. IAction instances now track their own tick

This commit is contained in:
bigguy345 committed 2025-07-03 18:29:53 +03:00
1 parent 7e1374d96a
commit e0c9bfffa5
8 files changed
+31 -34

No files matched your search

@@ -21,7 +21,7 @@ public class ServerTickHandler {
@SubscribeEvent
public void onServerTick(TickEvent.ServerTickEvent event) {
if (event.phase == Phase.END) {
NpcAPI.actionManager.tick(MinecraftServer.getServer().getTickCounter());
NpcAPI.actionManager.tick();
}
}