diff options
author | David Vierra <codewarrior@hawaii.rr.com> | 2018-02-06 10:16:30 -1000 |
---|---|---|
committer | David Vierra <codewarrior@hawaii.rr.com> | 2018-02-06 10:18:05 -1000 |
commit | 4cae5451fedfd526a36ffa8d5e576a5c4ee6fd43 (patch) | |
tree | 540da7e2ff224fedeaa3c3f363333bdad3963459 | |
parent | a4811c6d3e2d421310ac01a71b71e64b682cd5b0 (diff) | |
download | GT5-Unofficial-4cae5451fedfd526a36ffa8d5e576a5c4ee6fd43.tar.gz GT5-Unofficial-4cae5451fedfd526a36ffa8d5e576a5c4ee6fd43.tar.bz2 GT5-Unofficial-4cae5451fedfd526a36ffa8d5e576a5c4ee6fd43.zip |
Fix Industrial Centrifuge not processing Gendustry customized combs
Pass the buffer check if the recipe has more than 16 outputs.
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java | 5 |
1 files changed, 5 insertions, 0 deletions
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<ItemStack> tBusStacks = new ArrayList<>(); |