aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/tileentities/machines
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2024-09-01 04:49:39 +0200
committerGitHub <noreply@github.com>2024-08-31 22:49:39 -0400
commitf7b56c032947b2fed7d9b521f6f2d221115e08e9 (patch)
tree33a3aa956fe27ebe19692d5e90c54447f5db8f0e /src/main/java/gregtech/common/tileentities/machines
parentb22ab538b762de1fdc83d3a2e45fc21adcab5efd (diff)
downloadGT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.tar.gz
GT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.tar.bz2
GT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.zip
Fix some more gmi calls (#3009)
* strenghten fobidden gmi checks * yeet some hidden gt++ gmi * yeet last gt gmi call * forbidden isModLoaded calls * add other GTNH-I MTE IDs * Spotless apply for branch fix/gmi_calls for #3009 (#3010) spotlessApply Co-authored-by: GitHub GTNH Actions <> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/common/tileentities/machines')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/purification/GT_MetaTileEntity_PurificationUnitPhAdjustment.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/purification/GT_MetaTileEntity_PurificationUnitPhAdjustment.java b/src/main/java/gregtech/common/tileentities/machines/multi/purification/GT_MetaTileEntity_PurificationUnitPhAdjustment.java
index 99495dc484..58b689b04d 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/purification/GT_MetaTileEntity_PurificationUnitPhAdjustment.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/purification/GT_MetaTileEntity_PurificationUnitPhAdjustment.java
@@ -7,7 +7,6 @@ import static gregtech.api.enums.GT_HatchElement.InputBus;
import static gregtech.api.enums.GT_HatchElement.InputHatch;
import static gregtech.api.enums.GT_HatchElement.OutputHatch;
import static gregtech.api.enums.GT_Values.AuthorNotAPenguin;
-import static gregtech.api.enums.Mods.GoodGenerator;
import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_FRONT_LARGE_CHEMICAL_REACTOR;
import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_FRONT_LARGE_CHEMICAL_REACTOR_ACTIVE;
import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_FRONT_LARGE_CHEMICAL_REACTOR_ACTIVE_GLOW;
@@ -486,13 +485,13 @@ public class GT_MetaTileEntity_PurificationUnitPhAdjustment
} else {
// Little easier egg: Fluoroantimonic acid has a pH value of -31, it's an acid so strong it will
// instantly shatter the glass in the structure.
- if (GoodGenerator.isModLoaded()) {
- Fluid acid = FluidRegistry.getFluid("fluoroantimonic acid");
- if (stack != null && stack.getFluid()
- .equals(acid)) {
- // TODO: Actually break the glass and trigger achievement lol
- }
+
+ Fluid acid = FluidRegistry.getFluid("fluoroantimonic acid");
+ if (stack != null && stack.getFluid()
+ .equals(acid)) {
+ // TODO: Actually break the glass and trigger achievement lol
}
+
}
// Adjust pH with to new value