From b01526f66d7bc6253741545ab9251bfa5cb3fee9 Mon Sep 17 00:00:00 2001 From: Justin Vitale <4002351+justinvvitale@users.noreply.github.com> Date: Fri, 15 Jan 2021 18:09:48 +1100 Subject: [PATCH] Followup #2325 continue instead of falling into the break --- .../machine/iron/IronAlloyFurnaceBlockEntity.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/techreborn/blockentity/machine/iron/IronAlloyFurnaceBlockEntity.java b/src/main/java/techreborn/blockentity/machine/iron/IronAlloyFurnaceBlockEntity.java index fc24fc6d5..2f503c9d2 100644 --- a/src/main/java/techreborn/blockentity/machine/iron/IronAlloyFurnaceBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/iron/IronAlloyFurnaceBlockEntity.java @@ -76,10 +76,12 @@ public class IronAlloyFurnaceBlockEntity extends AbstractIronMachineBlockEntity if (hasAllInputs(recipeType)) { List outputs = recipeType.getOutputs(); - if(!outputs.isEmpty()){ - itemstack = outputs.get(0); + if(outputs.isEmpty()){ + continue; } + itemstack = outputs.get(0); + break; } }