Tweak ticking YET AGAIN. Should fire a solitary GUILOAD tick right as the game screen loads.

Hopefully fixes worldload tick issue too
This commit is contained in:
Christian committed 2012-07-04 00:16:30 -04:00
1 parent 53c2b50212
commit decbe8ba7c
3 files changed
+17 -2

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ public abstract class BaseMod implements cpw.mods.fml.common.modloader.BaseMod
public final boolean doTickInGUI(TickType tick, boolean tickEnd, Object minecraftInstance, Object... data)
{
Minecraft mc = (Minecraft) minecraftInstance;
if (tickEnd && ( tick==TickType.RENDER || tick==TickType.GAME )) {
if (tickEnd && ( tick==TickType.RENDER || tick==TickType.GAME ) || tick == TickType.GUILOAD) {
return onTickInGUI((Float) data[0], mc, mc.field_6313_p);
}
return true;