aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/lib/LoadedMods.java
diff options
context:
space:
mode:
authordraknyte1 <draknyte1@hotmail.com>2016-11-02 15:49:00 +1000
committerdraknyte1 <draknyte1@hotmail.com>2016-11-02 15:49:00 +1000
commitd594987b2cfdefa447ee585a68d4a4bef4ece3a5 (patch)
tree814813fc14ce5dcd8dfa7aeaecd939ac42d12877 /src/Java/gtPlusPlus/core/lib/LoadedMods.java
parent26292158575a0f0acb51ae50715887f871d2b5a0 (diff)
parent49a520da5da01594b5c42652d9db5c7c04e49ad8 (diff)
downloadGT5-Unofficial-d594987b2cfdefa447ee585a68d4a4bef4ece3a5.tar.gz
GT5-Unofficial-d594987b2cfdefa447ee585a68d4a4bef4ece3a5.tar.bz2
GT5-Unofficial-d594987b2cfdefa447ee585a68d4a4bef4ece3a5.zip
Merge branch 'master' of https://github.com/draknyte1/GTplusplus
Diffstat (limited to 'src/Java/gtPlusPlus/core/lib/LoadedMods.java')
-rw-r--r--src/Java/gtPlusPlus/core/lib/LoadedMods.java26
1 files changed, 23 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/core/lib/LoadedMods.java b/src/Java/gtPlusPlus/core/lib/LoadedMods.java
index ad7ab7b2c9..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
@@ -119,9 +121,17 @@ public class LoadedMods {
totalMods++;
}
if (Loader.isModLoaded("Growthcraft") == true){
- Growthcraft = true;
- Utils.LOG_INFO("Components enabled for: Growthcraft");
- totalMods++;
+ Utils.LOG_INFO("Growthcraft Version: "+getModVersion("Growthcraft"));
+ if (getModVersion("Growthcraft").equals("1.7.10-2.3.1")){
+ //Load Growthcraft Compat
+ Growthcraft = true;
+ Utils.LOG_INFO("Components enabled for: Growthcraft");
+ totalMods++;
+ }
+ else {
+ Growthcraft = false;
+ Utils.LOG_INFO("Growthcraft found, but the version was too new. I will update GC support eventually.");
+ }
}
if (Loader.isModLoaded("CoFHCore") == true){
CoFHCore = true;
@@ -173,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");