aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2023-12-03 00:50:34 +0800
committerGitHub <noreply@github.com>2023-12-03 00:50:34 +0800
commit4ff3ef790f4e22cc80986258f13f8a8643fda0dc (patch)
tree7bf841bb6877ef9b083a6626dfe21c481d07b6cc /src/main/java/gtPlusPlus/xmod/gregtech/common
parenteefc47cf99e68eb3c3a13e69c9d2bf5f6f901706 (diff)
downloadGT5-Unofficial-4ff3ef790f4e22cc80986258f13f8a8643fda0dc.tar.gz
GT5-Unofficial-4ff3ef790f4e22cc80986258f13f8a8643fda0dc.tar.bz2
GT5-Unofficial-4ff3ef790f4e22cc80986258f13f8a8643fda0dc.zip
fix steam machine nei structure diagram (#789)
* fix steam machine nei structure diagram this is caused by repeated failure of checkMachine(), which is caused by it not clearing special steam hatches * more special hatch clearing
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java
index 389e267545..dc793a9282 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java
@@ -204,19 +204,13 @@ public abstract class GregtechMetaTileEntity_LargerTurbineBase extends
}
@Override
+ public void clearHatches() {
+ super.clearHatches();
+ mTurbineRotorHatches.clear();
+ }
+
+ @Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
- this.mDynamoHatches.clear();
- this.mTecTechDynamoHatches.clear();
- this.mTurbineRotorHatches.clear();
- this.mMaintenanceHatches.clear();
- if (requiresMufflers()) {
- this.mMufflerHatches.clear();
- }
- this.mInputBusses.clear();
- this.mInputHatches.clear();
- if (requiresOutputHatch()) {
- this.mOutputHatches.clear();
- }
// we do not check for casing count here. the bare minimal is 372 but we only require 360
boolean aStructure = checkPiece(STRUCTURE_PIECE_MAIN, 3, 3, 0);
log("Structure Check: " + aStructure);