diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2016-10-23 20:49:48 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-10-23 20:49:48 +1000 |
commit | 4c30de81baeb39872215a5af47feab8378e9b627 (patch) | |
tree | 3aed28a956bdcda0cc3f2e7aa22f818bda348cbd /src/Java/gtPlusPlus/core | |
parent | 4e22125d6ddc878853cc3cadcec272a1a92e5135 (diff) | |
download | GT5-Unofficial-4c30de81baeb39872215a5af47feab8378e9b627.tar.gz GT5-Unofficial-4c30de81baeb39872215a5af47feab8378e9b627.tar.bz2 GT5-Unofficial-4c30de81baeb39872215a5af47feab8378e9b627.zip |
+ Added some Computronics recipes I half rely upon if it's not installed.
Diffstat (limited to 'src/Java/gtPlusPlus/core')
-rw-r--r-- | src/Java/gtPlusPlus/core/handler/COMPAT_IntermodStaging.java | 4 | ||||
-rw-r--r-- | src/Java/gtPlusPlus/core/lib/LoadedMods.java | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/handler/COMPAT_IntermodStaging.java b/src/Java/gtPlusPlus/core/handler/COMPAT_IntermodStaging.java index 97b7369134..ccf2b83837 100644 --- a/src/Java/gtPlusPlus/core/handler/COMPAT_IntermodStaging.java +++ b/src/Java/gtPlusPlus/core/handler/COMPAT_IntermodStaging.java @@ -1,5 +1,6 @@ package gtPlusPlus.core.handler; +import gtPlusPlus.xmod.Computronics.HANDLER_Computronics; import gtPlusPlus.xmod.forestry.HANDLER_FR; import gtPlusPlus.xmod.gregtech.HANDLER_GT; import gtPlusPlus.xmod.growthcraft.HANDLER_GC; @@ -16,6 +17,7 @@ public class COMPAT_IntermodStaging { HANDLER_FR.preInit(); HANDLER_Psych.preInit(); HANDLER_IC2.preInit(); + HANDLER_Computronics.preInit(); } @@ -26,6 +28,7 @@ public class COMPAT_IntermodStaging { HANDLER_FR.Init(); HANDLER_Psych.init(); HANDLER_IC2.init(); + HANDLER_Computronics.init(); } public static void postInit(){ @@ -35,6 +38,7 @@ public class COMPAT_IntermodStaging { HANDLER_FR.postInit(); HANDLER_Psych.postInit(); HANDLER_IC2.postInit(); + HANDLER_Computronics.postInit(); } diff --git a/src/Java/gtPlusPlus/core/lib/LoadedMods.java b/src/Java/gtPlusPlus/core/lib/LoadedMods.java index 1585fe06b3..440f72d2c8 100644 --- a/src/Java/gtPlusPlus/core/lib/LoadedMods.java +++ b/src/Java/gtPlusPlus/core/lib/LoadedMods.java @@ -34,6 +34,8 @@ public class LoadedMods { public static boolean MiscUtils = true; //Dummy For MetaData Lookups in MT Wrapper public static boolean ThermalFoundation = false; public static boolean IHL = false; + public static boolean OpenComputers = false; //OpenComputers + public static boolean Computronics = false; //computronics @@ -181,6 +183,16 @@ public class LoadedMods { Utils.LOG_INFO("Components enabled for: Baubles"); totalMods++; } + if (Loader.isModLoaded("OpenComputers") == true){ + OpenComputers = true; + Utils.LOG_INFO("Components enabled for: OpenComputers"); + totalMods++; + } + if (Loader.isModLoaded("computronics") == true){ + Computronics = true; + Utils.LOG_INFO("Components enabled for: Computronics"); + totalMods++; + } Utils.LOG_INFO("Content found for "+totalMods+" mods"); |