mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 22:44:32 +00:00
Fix ticking for GUI ticks too!
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user