From d553daacd66098de0a829d292aff3bf2dd25526d Mon Sep 17 00:00:00 2001 From: Antifluxfield Date: Sun, 11 Feb 2018 03:52:38 +0800 Subject: [PATCH] Fix custom enchantment for materials (#1374) --- src/main/java/gregtech/GT_Mod.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java index daf03cde..081589db 100644 --- a/src/main/java/gregtech/GT_Mod.java +++ b/src/main/java/gregtech/GT_Mod.java @@ -314,6 +314,10 @@ public class GT_Mod implements IGT_Mod { tPrefix.mDefaultStackSize = ((byte) Math.min(64, Math.max(16, tMainConfig.get("features", "MaxOtherBlockStackSize", 64).getInt()))); } } + + new Enchantment_EnderDamage(); + new Enchantment_Radioactivity(); + //GT_Config.troll = (Calendar.getInstance().get(2) + 1 == 4) && (Calendar.getInstance().get(5) >= 1) && (Calendar.getInstance().get(5) <= 2); Materials.init(); @@ -447,9 +451,6 @@ public class GT_Mod implements IGT_Mod { } }else{System.out.println("noMaterial "+reEnable);} }else{System.out.println("noPrefix "+reEnable);}} - - new Enchantment_EnderDamage(); - new Enchantment_Radioactivity(); new GT_Loader_OreProcessing().run(); new GT_Loader_OreDictionary().run();