diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java b/src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java index af674dff2f3..5618232442a 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java @@ -313,19 +313,21 @@ public void construct(ItemStack stackSize, boolean hintsOnly) { } public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBuildEnvironment env) { - if (mMachine) return -1; int built = 0; if (Mods.BlockRenderer6343.isModLoaded() && env.getActor() instanceof ClientFakePlayer) { if (stackSize.stackSize < 3) { - built += survivialBuildPiece(tier1, stackSize, 3, 5, 0, elementBudget, env, false, false); + built = survivialBuildPiece(tier1, stackSize, 3, 5, 0, elementBudget, env, false, true); + if (built >= 0) return built; if (stackSize.stackSize == 2) { - built += survivialBuildPiece(tier2, stackSize, 7, 6, 2, elementBudget, env, false, false); + built = survivialBuildPiece(tier2, stackSize, 7, 6, 2, elementBudget, env, false, true); } } else { - built += survivialBuildPiece(tier3, stackSize, 3, 21, 0, elementBudget, env, false, false); + built = survivialBuildPiece(tier3, stackSize, 3, 21, 0, elementBudget, env, false, true); } return built; } + + if (mMachine) return -1; if (mSetTier < 3) { built += survivialBuildPiece(tier1, stackSize, 3, 5, 0, elementBudget, env, false, true); if (mSetTier == 2) {