Fix crash with worlds that don't call the load event (Little Blocks)

This commit is contained in:
Chicken-Bomes committed 2014-07-02 20:37:50 +10:00
1 parent 3c84527806
commit 9e930f3ba5
1 file changed
+2 -1
+2 -1
View File
@@ -34,7 +34,8 @@ public class ServerHandler
@SubscribeEvent
public void tickEvent(TickEvent.WorldTickEvent event) {
if (event.phase == Phase.START)
if (event.phase == Phase.START && !event.world.isRemote &&
NEIServerConfig.dimTags.containsKey(CommonUtils.getDimension(event.world)))//fake worlds that don't call Load
processDisabledProperties(event.world);
}