aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/GT_Mod.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/GT_Mod.java')
-rw-r--r--src/main/java/gregtech/GT_Mod.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java
index 7ce10f718a..f545a34fa2 100644
--- a/src/main/java/gregtech/GT_Mod.java
+++ b/src/main/java/gregtech/GT_Mod.java
@@ -62,6 +62,8 @@ import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
+import static gregtech.api.enums.GT_Values.MOD_ID_FR;
+
@Mod(modid = "gregtech", name = "GregTech", version = "MC1710", useMetadata = false,
dependencies = " required-after:IC2;" +
" after:dreamcraft;"+
@@ -670,7 +672,7 @@ public class GT_Mod implements IGT_Mod {
}
} catch (Throwable e) {e.printStackTrace(GT_Log.err);}
- if (Loader.isModLoaded("Forestry"))
+ if (Loader.isModLoaded(MOD_ID_FR))
new GT_Bees();
//Disable Low Grav regardless of config if Cleanroom is disabled.
@@ -789,7 +791,7 @@ public class GT_Mod implements IGT_Mod {
}
}
- if (Loader.isModLoaded("Forestry")) {
+ if (Loader.isModLoaded(MOD_ID_FR)) {
GT_Forestry_Compat.transferCentrifugeRecipes();
GT_Forestry_Compat.transferSqueezerRecipes();
}
@@ -896,7 +898,7 @@ public class GT_Mod implements IGT_Mod {
} catch (Throwable e) {e.printStackTrace(GT_Log.err);}
GT_Log.out.println("GT_Mod: Adding Fake Recipes for NEI");
- if (Loader.isModLoaded("Forestry"))
+ if (Loader.isModLoaded(MOD_ID_FR))
GT_Forestry_Compat.populateFakeNeiRecipes();
if (ItemList.IC2_Crop_Seeds.get(1L) != null) {