Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Fix Thermal Boiler accepting energy hatches. (#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdielKavash committed Apr 19, 2024
1 parent 5d13f78 commit a9acc41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -313,7 +312,7 @@ public IStructureDefinition<GT4Entity_ThermalBoiler> 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();
Expand Down

0 comments on commit a9acc41

Please sign in to comment.