aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines
diff options
context:
space:
mode:
authorchochem <40274384+chochem@users.noreply.github.com>2024-05-26 00:34:53 +0100
committerGitHub <noreply@github.com>2024-05-26 00:34:53 +0100
commit3939f74dc8afe7236f2bec0aba021e3675c24bfc (patch)
treebd8a56ac6d9e30b54d42848d34677becb1801c50 /src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines
parent3819aed2f2e0e82f303f76b789b519c7702cf9bb (diff)
downloadGT5-Unofficial-3939f74dc8afe7236f2bec0aba021e3675c24bfc.tar.gz
GT5-Unofficial-3939f74dc8afe7236f2bec0aba021e3675c24bfc.tar.bz2
GT5-Unofficial-3939f74dc8afe7236f2bec0aba021e3675c24bfc.zip
Mod load check refactors (#2621)
* deprecate LoaderReference * replace all uses of LoaderReference * delete loaderreference * mod loaded checks in gagreg * remove modloaded checks for merged mods
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
index 67244cb399..5ad8803040 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
@@ -9,7 +9,6 @@ import static com.gtnewhorizon.structurelib.structure.StructureUtility.withChann
import static gregtech.api.enums.GT_HatchElement.Dynamo;
import static gregtech.api.enums.GT_HatchElement.Energy;
import static gregtech.api.enums.GT_HatchElement.Maintenance;
-import static gregtech.api.enums.Mods.TecTech;
import static gregtech.api.util.GT_StructureUtility.buildHatchAdder;
import static gregtech.api.util.GT_StructureUtility.ofHatchAdderOptional;
import static gregtech.api.util.GT_Utility.filterValidMTEs;
@@ -466,7 +465,7 @@ public class GregtechMetaTileEntity_PowerSubStationController extends
return addToMachineList(aTileEntity, aBaseCasingIndex);
} else if (aMetaTileEntity instanceof GT_MetaTileEntity_Hatch_Maintenance) {
return addToMachineList(aTileEntity, aBaseCasingIndex);
- } else if (TecTech.isModLoaded()) {
+ } else {
if (isThisHatchMultiDynamo(aMetaTileEntity)) {
return addToMachineList(aTileEntity, aBaseCasingIndex);
} else if (isThisHatchMultiEnergy(aMetaTileEntity)) {