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

@@ -46,6 +46,10 @@ public class ModLoaderHelper
} else {
ticks.remove(TickType.WORLD);
}
if (enable) {
ticks.add(TickType.WORLDLOADTICK);
}
}
public static void updateGUITicks(BaseMod mod, boolean enable, boolean useClock)
@@ -64,6 +68,9 @@ public class ModLoaderHelper
} else {
ticks.remove(TickType.WORLDGUI);
}
if (enable) {
ticks.add(TickType.GUILOADTICK);
}
}
/**