From a9acc41100fccd61336bd61d05e30c8f7796ce9b Mon Sep 17 00:00:00 2001 From: Abdiel Kavash <19243993+AbdielKavash@users.noreply.github.com> Date: Fri, 19 Apr 2024 11:42:36 -0600 Subject: [PATCH] Fix Thermal Boiler accepting energy hatches. (#872) --- dependencies.gradle | 2 +- .../machines/multi/production/GT4Entity_ThermalBoiler.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dependencies.gradle b/dependencies.gradle index 490cc899e..1c7247d65 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,5 +1,5 @@ dependencies { - api('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.153:dev') + api('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.155:dev') api("com.github.GTNewHorizons:bartworks:0.9.21:dev") implementation('curse.maven:cofh-core-69162:2388751') 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 04844ab88..39266717b 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 @@ 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 IStructureDefinition getStructureDefinition() { .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();