Fix missing player tick function

This commit is contained in:
Melledy 2022-04-27 19:37:25 -07:00
parent d3925e8c6e
commit 9d75c25085

View File

@ -189,7 +189,11 @@ public final class GameServer extends KcpServer {
world.onTick(); world.onTick();
} }
ServerTickEvent event = new ServerTickEvent(); event.call(); for (Player player : this.getPlayers().values()) {
player.onTick();
}
ServerTickEvent event = new ServerTickEvent(); event.call();
} }
public void registerWorld(World world) { public void registerWorld(World world) {