mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 22:44:32 +00:00
Fix ticking properly - ML world ticks now fire once, properly
This commit is contained in:
1 parent
44706ae343
commit
be1a80ebbd
4 files changed
+75
-33
No files matched your search
@@ -35,7 +35,7 @@ public class ModLoaderHelper
|
||||
BaseModTicker ticker = mlmc.getTickHandler();
|
||||
EnumSet<TickType> ticks = ticker.ticks();
|
||||
// If we're enabled we get render ticks
|
||||
if (enable) {
|
||||
if (enable && !useClock) {
|
||||
ticks.add(TickType.RENDER);
|
||||
} else {
|
||||
ticks.remove(TickType.RENDER);
|
||||
|
||||
Reference in new issue
Block a user