mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-12 16:37:45 +00:00
Fix crash with worlds that don't call the load event (Little Blocks)
This commit is contained in:
1 parent
3c84527806
commit
9e930f3ba5
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user