Fix ticking for GUI ticks too!

This commit is contained in:
Christian committed 2012-06-22 09:30:27 -04:00
1 parent c588750c96
commit 05f9861da4
3 files changed
+17 -10

No files matched your search

@@ -53,7 +53,7 @@ public class ModLoaderHelper
ModLoaderModContainer mlmc = findOrBuildModContainer(mod);
EnumSet<TickType> ticks = mlmc.getTickHandler().ticks();
// If we're enabled and we don't want clock ticks we get render ticks
if (enable && !useClock && FMLCommonHandler.instance().getSide().isClient()) {
if (enable && !useClock) {
ticks.add(TickType.GUI);
} else {
ticks.remove(TickType.GUI);