Fix custom enchantment for materials (#1374)

This commit is contained in:
Antifluxfield 2018-02-11 03:52:38 +08:00 committed by Blood-Asp
parent 2b21b51b64
commit d553daacd6

View file

@ -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()))); 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); //GT_Config.troll = (Calendar.getInstance().get(2) + 1 == 4) && (Calendar.getInstance().get(5) >= 1) && (Calendar.getInstance().get(5) <= 2);
Materials.init(); Materials.init();
@ -448,9 +452,6 @@ public class GT_Mod implements IGT_Mod {
}else{System.out.println("noMaterial "+reEnable);} }else{System.out.println("noMaterial "+reEnable);}
}else{System.out.println("noPrefix "+reEnable);}} }else{System.out.println("noPrefix "+reEnable);}}
new Enchantment_EnderDamage();
new Enchantment_Radioactivity();
new GT_Loader_OreProcessing().run(); new GT_Loader_OreProcessing().run();
new GT_Loader_OreDictionary().run(); new GT_Loader_OreDictionary().run();
new GT_Loader_ItemData().run(); new GT_Loader_ItemData().run();