universal-electricity/src/main/java/universalelectricity/compat/CompatTickHandler.java
Timo Ley 7604c9aff0
All checks were successful
continuous-integration/drone/tag Build is passing
init
2022-12-09 23:00:14 +01:00

17 lines
412 B
Java

package universalelectricity.compat;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.TickEvent.Phase;
import cpw.mods.fml.common.gameevent.TickEvent.ServerTickEvent;
public class CompatTickHandler {
@SubscribeEvent
public void onTick(ServerTickEvent event) {
if (event.phase == Phase.END) {
CompatHandler.tick();
}
}
}