aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFiyorin ᵘʷᵘ <61357+Fiyorin@users.noreply.github.com>2023-05-17 21:29:35 +0200
committerGitHub <noreply@github.com>2023-05-17 21:29:35 +0200
commit9e5d63221090bb8ed7e441d9fc9e871597bcf017 (patch)
treed16a0faeac2e931bb3798d6bae3d7d6d02913f9d /src
parent5f4f6e2281f3163be82043b919d683dd77c44d89 (diff)
downloadGT5-Unofficial-9e5d63221090bb8ed7e441d9fc9e871597bcf017.tar.gz
GT5-Unofficial-9e5d63221090bb8ed7e441d9fc9e871597bcf017.tar.bz2
GT5-Unofficial-9e5d63221090bb8ed7e441d9fc9e871597bcf017.zip
ExxonMobile Chemical Plant: Fix the Blockrenderer Structure Preview (#632)
* ExxonMobile Chemical Plant: Fix the Blockrenderer Structure Preview this makes it suggest to use only 1 Catalyst Housing. the multi can still form with 0 or multiple housings. recipes that require catalysts only work with 1 housing. * ExxonMobile Chemical Plant: Fix the Blockrenderer Structure Preview this makes it suggest to use only 1 Catalyst Housing. the multi can still form with 0 or multiple housings. recipes that require catalysts only work with 1 housing. * Merge remote-tracking branch 'origin/master' * Update GregtechMTE_ChemicalPlant.java --------- Co-authored-by: Fiyorin <david@bitmail.cc> Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java1
1 files changed, 1 insertions, 0 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 f23483d8d0..0c21e1f838 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
@@ -234,6 +234,7 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt
.casingIndex(getCasingTextureID()).dot(1).build(),
buildHatchAdder(GregtechMTE_ChemicalPlant.class)
.hatchClass(GT_MetaTileEntity_Hatch_Catalysts.class)
+ .shouldReject(t -> t.mCatalystBuses.size() >= 1)
.adder(GregtechMTE_ChemicalPlant::addChemicalPlantList)
.casingIndex(getCasingTextureID()).dot(1).build(),
allCasingsElement))