Skip to content

Commit

Permalink
add TrackedDummyWorld to GT api dummy world list
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyfts committed Sep 4, 2024
1 parent fce5862 commit cfa406a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/blockrenderer6343/ClientProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

import net.minecraftforge.common.MinecraftForge;

import blockrenderer6343.client.world.TrackedDummyWorld;
import blockrenderer6343.integration.nei.IMCForNEI;
import blockrenderer6343.integration.nei.InputHandler;
import codechicken.nei.guihook.GuiContainerManager;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import gregtech.api.GregTechAPI;

public class ClientProxy extends CommonProxy {

Expand All @@ -17,6 +19,7 @@ public void preInit(FMLPreInitializationEvent event) {
super.preInit(event);
GuiContainerManager.addInputHandler(new InputHandler());
GuiContainerManager.addTooltipHandler(new InputHandler());
GregTechAPI.addDummyWorld(TrackedDummyWorld.class);
}

// load "Do your mod setup. Build whatever data structures you care about. Register recipes."
Expand Down

0 comments on commit cfa406a

Please sign in to comment.