Followup #2325 continue instead of falling into the break

This commit is contained in:
Justin Vitale 2021-01-15 18:09:48 +11:00
parent d12b31bfe4
commit b01526f66d

View file

@ -76,10 +76,12 @@ public class IronAlloyFurnaceBlockEntity extends AbstractIronMachineBlockEntity
if (hasAllInputs(recipeType)) {
List<ItemStack> outputs = recipeType.getOutputs();
if(!outputs.isEmpty()){
itemstack = outputs.get(0);
if(outputs.isEmpty()){
continue;
}
itemstack = outputs.get(0);
break;
}
}