Workaround some mod interactions not calling the world load event before world tick

This commit is contained in:
Chicken-Bomes committed 2014-11-07 01:04:43 +10:00
1 parent 4a40b215d5
commit feb8bfd028
1 file changed
+4 -1
@@ -123,8 +123,11 @@ public class WorldExtensionManager
}
@SubscribeEvent
public void clientTick(TickEvent.WorldTickEvent event)
public void serverTick(TickEvent.WorldTickEvent event)
{
if(!worldMap.containsKey(event.world))
WorldExtensionManager.onWorldLoad(event.world);
if(event.phase == TickEvent.Phase.START)
preTick(event.world);
else