diff --git a/src/main/java/pl/asie/computronics/Computronics.java b/src/main/java/pl/asie/computronics/Computronics.java index 54238b12..7c26b88c 100644 --- a/src/main/java/pl/asie/computronics/Computronics.java +++ b/src/main/java/pl/asie/computronics/Computronics.java @@ -2,12 +2,9 @@ import com.google.common.collect.ImmutableList; import com.google.common.util.concurrent.ThreadFactoryBuilder; -import cpw.mods.fml.common.FMLCommonHandler; -import cpw.mods.fml.common.Mod; +import cpw.mods.fml.common.*; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; -import cpw.mods.fml.common.Optional; -import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLInterModComms; import cpw.mods.fml.common.event.FMLMissingMappingsEvent; @@ -169,6 +166,8 @@ public Item getTabIconItem() { } }; + public static boolean isGTNHLoaded; + public boolean isEnabled(String name, boolean def) { return config.isEnabled(name, def); } @@ -193,6 +192,8 @@ private void registerBlockWithTileEntity(BlockBase block, Class