Add in a "world load" tick fired just as the world completes loading. This SHOULD fix millinaire.

This commit is contained in:
Christian Weeks committed 2012-05-25 17:21:30 -04:00
1 parent 006112f3d3
commit 7fddb9d59e
6 files changed
+44 -23

No files matched your search

+4
View File
@@ -42,6 +42,10 @@ public abstract class BaseMod implements IWorldGenerator, IPickupNotifier, IDisp
return onTickInGame((Float) data[0], mc);
} else if (((tickEnd && tick==TickType.WORLDGUI) || (tickEnd && tick==TickType.GUI))) {
return onTickInGUI((Float) data[0], mc, (GuiScreen)data[1]);
} else if (tick == TickType.WORLDLOADTICK) {
return onTickInGame(0.0f, mc);
} else if (tick == TickType.GUILOADTICK) {
return onTickInGUI(0.0f, mc, mc.field_6313_p);
}
return true;
}