mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 15:33:18 +00:00
Add in a "world load" tick fired just as the world completes loading. This SHOULD fix millinaire.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user