Fixed runnables at the end of client ticks not being registered in testclient modules

This commit is contained in:
blackilykat 2023-06-04 12:21:05 +02:00
parent 31124e4364
commit 1b671635ce

View file

@ -2,6 +2,7 @@ package land.chipmunk.chipmunkmod;
import com.google.gson.GsonBuilder; import com.google.gson.GsonBuilder;
import land.chipmunk.chipmunkmod.util.Keybinds; import land.chipmunk.chipmunkmod.util.Keybinds;
import land.chipmunk.chipmunkmod.util.TickRunnableHandler;
import land.chipmunk.chipmunkmod.util.gson.BlockPosTypeAdapter; import land.chipmunk.chipmunkmod.util.gson.BlockPosTypeAdapter;
import net.fabricmc.api.ModInitializer; import net.fabricmc.api.ModInitializer;
import java.io.InputStream; import java.io.InputStream;
@ -39,6 +40,7 @@ public class ChipmunkMod implements ModInitializer {
throw new RuntimeException("Could not load the config", exception); throw new RuntimeException("Could not load the config", exception);
} }
Keybinds.registerOpenGui(); Keybinds.registerOpenGui();
TickRunnableHandler.registerTickEndRunnables();
LOGGER.info("Loaded ChipmunkMod (Blackilykat's fork)"); LOGGER.info("Loaded ChipmunkMod (Blackilykat's fork)");
} }