From 1b671635ceca1b1576db24f46c9a6c8046b075bf Mon Sep 17 00:00:00 2001 From: blackilykat Date: Sun, 4 Jun 2023 12:21:05 +0200 Subject: [PATCH] Fixed runnables at the end of client ticks not being registered in testclient modules --- src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java b/src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java index d7ddce6..1ba0e84 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java +++ b/src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java @@ -2,6 +2,7 @@ package land.chipmunk.chipmunkmod; import com.google.gson.GsonBuilder; import land.chipmunk.chipmunkmod.util.Keybinds; +import land.chipmunk.chipmunkmod.util.TickRunnableHandler; import land.chipmunk.chipmunkmod.util.gson.BlockPosTypeAdapter; import net.fabricmc.api.ModInitializer; import java.io.InputStream; @@ -39,6 +40,7 @@ public class ChipmunkMod implements ModInitializer { throw new RuntimeException("Could not load the config", exception); } Keybinds.registerOpenGui(); + TickRunnableHandler.registerTickEndRunnables(); LOGGER.info("Loaded ChipmunkMod (Blackilykat's fork)"); }