aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorchochem <40274384+chochem@users.noreply.github.com>2024-09-10 17:25:31 +0100
committerGitHub <noreply@github.com>2024-09-10 17:25:31 +0100
commit8322ed01db369cd3fc02aa1c1baf8db861154bfc (patch)
treed4f700706999c9c5e9cc1cf39c201766b2a600a8 /src/main/java
parent1fcec6135c57d9396deebceda04cdac8924be43d (diff)
downloadGT5-Unofficial-8322ed01db369cd3fc02aa1c1baf8db861154bfc.tar.gz
GT5-Unofficial-8322ed01db369cd3fc02aa1c1baf8db861154bfc.tar.bz2
GT5-Unofficial-8322ed01db369cd3fc02aa1c1baf8db861154bfc.zip
add missing ismodloaded checks for combs (#3145)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/gregtech/loaders/postload/recipes/CentrifugeRecipes.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/gregtech/loaders/postload/recipes/CentrifugeRecipes.java b/src/main/java/gregtech/loaders/postload/recipes/CentrifugeRecipes.java
index e792638307..e16ad553fb 100644
--- a/src/main/java/gregtech/loaders/postload/recipes/CentrifugeRecipes.java
+++ b/src/main/java/gregtech/loaders/postload/recipes/CentrifugeRecipes.java
@@ -2,6 +2,7 @@ package gregtech.loaders.postload.recipes;
import static gregtech.api.enums.Mods.AppliedEnergistics2;
import static gregtech.api.enums.Mods.ExtraUtilities;
+import static gregtech.api.enums.Mods.Forestry;
import static gregtech.api.enums.Mods.Thaumcraft;
import static gregtech.api.enums.Mods.ThaumicTinkerer;
import static gregtech.api.enums.Mods.TwilightForest;
@@ -697,7 +698,7 @@ public class CentrifugeRecipes implements Runnable {
.eut(5)
.addTo(centrifugeRecipes);
- if (Thaumcraft.isModLoaded()) {
+ if (Thaumcraft.isModLoaded() && Forestry.isModLoaded()) {
// air
GTValues.RA.stdBuilder()
@@ -771,7 +772,7 @@ public class CentrifugeRecipes implements Runnable {
.addTo(centrifugeRecipes);
}
- if (ExtraUtilities.isModLoaded()) {
+ if (ExtraUtilities.isModLoaded() && Forestry.isModLoaded()) {
// Caelestis red
GTValues.RA.stdBuilder()