aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2022-07-19 09:31:08 +0900
committerGitHub <noreply@github.com>2022-07-19 07:31:08 +0700
commit8ad3edb3b93a5e28cd09c1a308aeee860f5b0478 (patch)
treef7dcf4d6a69ed6aef30fd1c24a47f91278339719 /src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines
parente78a19d8b742ee35f48a3b0e7bebb088ece17bee (diff)
downloadGT5-Unofficial-8ad3edb3b93a5e28cd09c1a308aeee860f5b0478.tar.gz
GT5-Unofficial-8ad3edb3b93a5e28cd09c1a308aeee860f5b0478.tar.bz2
GT5-Unofficial-8ad3edb3b93a5e28cd09c1a308aeee860f5b0478.zip
Chemical Plant fixes (#248)
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
index f0d3eace77..11af6c7edc 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
@@ -167,8 +167,11 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt
case 8: return 11;
case 9: return 6;
case 10: return 9;
+ case 11: return 12;
+ case 12: return 13;
+ case 13: return 14;
+ default: return 0;
}
- return 0;
}
@Override
@@ -270,7 +273,7 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt
.addElement(
'H',
addTieredBlock(
- GregTech_API.sBlockCasings5, GregtechMTE_ChemicalPlant::setCoilMeta, GregtechMTE_ChemicalPlant::getCoilMeta, 11
+ GregTech_API.sBlockCasings5, GregtechMTE_ChemicalPlant::setCoilMeta, GregtechMTE_ChemicalPlant::getCoilMeta, 14
)
)
.addElement(
@@ -344,7 +347,7 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt
mPipeCasingTier = checkPipe - 12;
mCoilTier = coilTier(checkCoil - 1);
updateHatchTexture();
- return mMachineCasingTier >= maxTierOfHatch;
+ return mMachineCasingTier >= 9 || mMachineCasingTier >= maxTierOfHatch;
}
return false;
}