- MazeHandling: completed + fixxed

This commit is contained in:
HellFirePvP committed 2015-11-10 18:18:40 +01:00
1 parent 99b3084a56
commit 17520f43d2
4 files changed
+50 -28

No files matched your search

@@ -122,11 +122,6 @@ public class EventHandlerWorld {
@SubscribeEvent
public void on(TickEvent.ServerTickEvent event) {
if(event.phase != TickEvent.Phase.END) return;
WorldServer worldServer = DimensionManager.getWorld(ModConfig.dimOuterId);
if(worldServer == null) return;
if (!worldServer.isRemote && (worldServer.provider.dimensionId == 0 || worldServer.provider.dimensionId == ModConfig.dimOuterId)) {
TCMazeHandler.tick();
}
TCMazeHandler.scheduleTick();
}