mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fix huge bug/typo in basemodticker that stopped ticks getting sent
This commit is contained in:
1 parent
7e24034fcc
commit
6c42a77411
1 file changed
+2
-1
@@ -52,7 +52,7 @@ public class BaseModTicker implements ITickHandler
|
||||
@Override
|
||||
public void tickEnd(EnumSet<TickType> types, Object... tickData)
|
||||
{
|
||||
tickBaseMod(ticks, true, tickData);
|
||||
tickBaseMod(types, true, tickData);
|
||||
}
|
||||
|
||||
private void tickBaseMod(EnumSet<TickType> types, boolean end, Object... tickData)
|
||||
@@ -61,6 +61,7 @@ public class BaseModTicker implements ITickHandler
|
||||
{
|
||||
clockTickTrigger = true;
|
||||
}
|
||||
|
||||
if (end && clockTickTrigger && types.contains(TickType.RENDER))
|
||||
{
|
||||
types.add(TickType.GAME);
|
||||
|
||||
Reference in new issue
Block a user