diff options
author | Tom Dickson <github@bombcar.com> | 2021-11-24 18:35:28 -0600 |
---|---|---|
committer | Tom Dickson <github@bombcar.com> | 2021-11-24 18:35:28 -0600 |
commit | 152a1e1f63851929e6efddd2098fdc775b8ff64f (patch) | |
tree | 255e988587b9c0b00992cb25018dc290df888535 /src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi | |
parent | 81bc9e0e2dc60959acfce307ba5816a2eafe15b5 (diff) | |
download | GT5-Unofficial-152a1e1f63851929e6efddd2098fdc775b8ff64f.tar.gz GT5-Unofficial-152a1e1f63851929e6efddd2098fdc775b8ff64f.tar.bz2 GT5-Unofficial-152a1e1f63851929e6efddd2098fdc775b8ff64f.zip |
fix /GTNewHorizons/GT-New-Horizons-Modpack#6308
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java index 4a2747a3db..65470e0981 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java @@ -766,6 +766,7 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase { this.mOutputItems = tOutputItems; this.mOutputFluids = tOutputFluids; updateSlots(); + for (GT_MetaTileEntity_Hatch_Catalysts h : mCatalystBuses) h.updateSlots(); // Play sounds (GT++ addition - GT multiblocks play no sounds) startProcess(); @@ -960,7 +961,7 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase { if (damage >= getMaxCatalystDurability()) { log("consume catalyst"); addOutput(CI.getEmptyCatalyst(1)); - aStack = null; + aStack.stackSize -= 1; } else { log("damaging catalyst"); |