Some debug stuff, and removing an unnecessary ModLoader call

This commit is contained in:
pahimar 2012-06-21 07:22:24 -04:00
parent c2c713e4e2
commit 824958ac21
3 changed files with 6 additions and 4 deletions

View file

@ -10,6 +10,7 @@ import ee3.item.ItemPhilosopherStone;
import ee3.item.ItemMiniumStone;
import ee3.item.ModItems;
import ee3.lib.Helper;
import ee3.lib.Reference;
import net.minecraft.src.Block;
import net.minecraft.src.FurnaceRecipes;
@ -49,7 +50,9 @@ public class RecipesPhilStone {
initPortableSmeltingRecipes(transmutationStone);
}
debugPrintEquivalencyList();
if (Reference.DEBUG) {
debugPrintEquivalencyList();
}
}
public static void initTransmutationRecipes(ItemStack transmutationStone) {

View file

@ -6,6 +6,8 @@ package ee3.lib;
*
*/
public class Reference {
public static final boolean DEBUG = false;
public static final String MOD_NAME = "Equivalent Exchange 3";
public static final String CHANNEL_NAME = "EE3";

View file

@ -40,9 +40,6 @@ public class mod_EE3 extends NetworkMod {
// Forge version check
MinecraftForge.versionDetect(Reference.MOD_NAME, Version.REQ_FORGE_MAJOR, Version.REQ_FORGE_MINOR, Version.REQ_FORGE_REVISION);
// Register the mod with ModLoader
ModLoader.setInGameHook(this, true, true);
// Register the Tick Handler
FMLCommonHandler.instance().registerTickHandler(new TickHandler());