aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbdiel Kavash <19243993+AbdielKavash@users.noreply.github.com>2024-04-19 11:42:36 -0600
committerGitHub <noreply@github.com>2024-04-19 19:42:36 +0200
commita9acc41100fccd61336bd61d05e30c8f7796ce9b (patch)
tree09d85b7b9d485b12068a8986b9f00ea20f490eb5 /src
parent5d13f78896aa370d4d740c0f1b57b25f6142757d (diff)
downloadGT5-Unofficial-a9acc41100fccd61336bd61d05e30c8f7796ce9b.tar.gz
GT5-Unofficial-a9acc41100fccd61336bd61d05e30c8f7796ce9b.tar.bz2
GT5-Unofficial-a9acc41100fccd61336bd61d05e30c8f7796ce9b.zip
Fix Thermal Boiler accepting energy hatches. (#872)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_ThermalBoiler.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_ThermalBoiler.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_ThermalBoiler.java
index 04844ab88b..39266717b7 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_ThermalBoiler.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_ThermalBoiler.java
@@ -3,7 +3,6 @@ package gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.ofBlock;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.onElementPass;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.transpose;
-import static gregtech.api.enums.GT_HatchElement.Energy;
import static gregtech.api.enums.GT_HatchElement.InputBus;
import static gregtech.api.enums.GT_HatchElement.InputHatch;
import static gregtech.api.enums.GT_HatchElement.Maintenance;
@@ -313,7 +312,7 @@ public class GT4Entity_ThermalBoiler extends GregtechMeta_MultiBlockBase<GT4Enti
.addElement(
'C',
buildHatchAdder(GT4Entity_ThermalBoiler.class)
- .atLeast(InputBus, OutputBus, InputHatch, OutputHatch, Maintenance, Energy, Muffler)
+ .atLeast(InputBus, OutputBus, InputHatch, OutputHatch, Maintenance, Muffler)
.casingIndex(TAE.getIndexFromPage(0, 1)).dot(1).buildAndChain(
onElementPass(x -> ++x.mCasing, ofBlock(ModBlocks.blockCasings2Misc, 11))))
.build();