From 3b976f4aeacbff508bcca4c324467201b4d1cd2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20G=C3=A4=C3=9Fler?= Date: Wed, 2 Aug 2017 22:24:53 +0200 Subject: [PATCH] Multiblock Chemical Reactor now also automatically adds an Int. Circ. --- .../multi/GT_MetaTileEntity_LargeChemicalReactor.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java index c8f5a4aa..cbbf1add 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java @@ -86,7 +86,11 @@ public class GT_MetaTileEntity_LargeChemicalReactor extends GT_MetaTileEntity_Mu } } } - tInputList.add(mInventory[1]); + if (mInventory[1] != null) { + tInputList.add(mInventory[1]); + } else { + tInputList.add(GT_Utility.getIntegratedCircuit(0)); + } ItemStack[] inputs = tInputList.toArray(new ItemStack[tInputList.size()]); ArrayList tFluidList = getStoredFluids();