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

Commit a9acc41

Browse files
authored
Fix Thermal Boiler accepting energy hatches. (#872)
1 parent 5d13f78 commit a9acc41

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dependencies.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.153:dev')
2+
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.155:dev')
33
api("com.github.GTNewHorizons:bartworks:0.9.21:dev")
44

55
implementation('curse.maven:cofh-core-69162:2388751')

src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_ThermalBoiler.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import static com.gtnewhorizon.structurelib.structure.StructureUtility.ofBlock;
44
import static com.gtnewhorizon.structurelib.structure.StructureUtility.onElementPass;
55
import static com.gtnewhorizon.structurelib.structure.StructureUtility.transpose;
6-
import static gregtech.api.enums.GT_HatchElement.Energy;
76
import static gregtech.api.enums.GT_HatchElement.InputBus;
87
import static gregtech.api.enums.GT_HatchElement.InputHatch;
98
import static gregtech.api.enums.GT_HatchElement.Maintenance;
@@ -313,7 +312,7 @@ public IStructureDefinition<GT4Entity_ThermalBoiler> getStructureDefinition() {
313312
.addElement(
314313
'C',
315314
buildHatchAdder(GT4Entity_ThermalBoiler.class)
316-
.atLeast(InputBus, OutputBus, InputHatch, OutputHatch, Maintenance, Energy, Muffler)
315+
.atLeast(InputBus, OutputBus, InputHatch, OutputHatch, Maintenance, Muffler)
317316
.casingIndex(TAE.getIndexFromPage(0, 1)).dot(1).buildAndChain(
318317
onElementPass(x -> ++x.mCasing, ofBlock(ModBlocks.blockCasings2Misc, 11))))
319318
.build();

0 commit comments

Comments
 (0)