From 4cae5451fedfd526a36ffa8d5e576a5c4ee6fd43 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Tue, 6 Feb 2018 10:16:30 -1000 Subject: Fix Industrial Centrifuge not processing Gendustry customized combs Pass the buffer check if the recipe has more than 16 outputs. --- .../implementations/base/GregtechMeta_MultiBlockBase.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java index e0da8e9fc2..492872d37d 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java @@ -121,6 +121,11 @@ GT_MetaTileEntity_MultiBlockBase { public String getSound() { return ""; } public boolean canBufferOutputs(final GT_Recipe aRecipe, int aParallelRecipes) { + if (aRecipe.mOutputs.length > 16) { + // Gendustry custom comb with a billion centrifuge outputs? Do it anyway. + return true; + } + // Count slots available in output buses ArrayList tBusStacks = new ArrayList<>(); -- cgit