Multiblock Chemical Reactor now also automatically adds an Int. Circ.

This commit is contained in:
Johannes Gäßler 2017-08-02 22:24:53 +02:00
parent ee7f576abf
commit 3b976f4aea

View file

@ -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()]); ItemStack[] inputs = tInputList.toArray(new ItemStack[tInputList.size()]);
ArrayList<FluidStack> tFluidList = getStoredFluids(); ArrayList<FluidStack> tFluidList = getStoredFluids();