Implement POST TickEvent with new onPostTick callback

This commit is contained in:
Brady
2023-06-20 17:18:30 -05:00
parent 4076263afa
commit 2a82f6048a
5 changed files with 51 additions and 4 deletions

View File

@@ -62,6 +62,11 @@ public final class GameEventHandler implements IEventBus, Helper {
listeners.forEach(l -> l.onTick(event));
}
@Override
public void onPostTick(TickEvent event) {
listeners.forEach(l -> l.onPostTick(event));
}
@Override
public final void onPlayerUpdate(PlayerUpdateEvent event) {
listeners.forEach(l -> l.onPlayerUpdate(event));