mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-26 14:53:21 +00:00
- MazeHandling: completed + fixxed
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user