From fdc062fe2d37655ff406dd92b4d796bd90cda484 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Fri, 2 Sep 2016 17:50:19 +1000 Subject: + Added new Utility classes. % Changed compat handling for GT to use reflection to check class values. --- src/Java/miscutil/core/common/CommonProxy.java | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/Java/miscutil/core/common') diff --git a/src/Java/miscutil/core/common/CommonProxy.java b/src/Java/miscutil/core/common/CommonProxy.java index eec65c0bb3..79c4a7b665 100644 --- a/src/Java/miscutil/core/common/CommonProxy.java +++ b/src/Java/miscutil/core/common/CommonProxy.java @@ -35,6 +35,14 @@ public class CommonProxy { //Should Register Gregtech Materials I've Made MinecraftForge.EVENT_BUS.register(this); FMLCommonHandler.instance().bus().register(this); + if (LoadedMods.Gregtech){ + if (CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK){ + Utils.LOG_INFO("We're using Gregtech 5.09 Experimental."); + } + else { + Utils.LOG_INFO("We're using Gregtech 5.08 or an equivalent fork."); + } + } if (LoadedMods.Gregtech){ for (String tOreName : OreDictionary.getOreNames()) { ItemStack tOreStack; @@ -52,15 +60,6 @@ public class CommonProxy { LoadedMods.checkLoaded(); Utils.LOG_INFO("Making sure we're ready to party!"); - if (LoadedMods.Gregtech){ - if (CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK){ - Utils.LOG_INFO("We're using Gregtech 5.09 Experimental."); - } - else { - Utils.LOG_INFO("We're using Gregtech 5.08 or an equivalent fork."); - } - } - if (!DEBUG){ Utils.LOG_WARNING("Development mode not enabled."); -- cgit