fix JEI transfer handler breaking in some instances

This commit is contained in:
PrototypeTrousers
2022-12-07 20:29:39 -03:00
parent 98ce8235bb
commit b76c18fedf
@@ -72,7 +72,7 @@ public class JEIMissingItem implements IRecipeTransferError {
}
}
found = true;
break;
used.add(itemStack.copy().setStackSize(1));
}
}
}
@@ -83,11 +83,11 @@ public class JEIMissingItem implements IRecipeTransferError {
if (ext.getStackSize() > 0 && (usedStack == null || ext.getStackSize() > usedStack.getStackSize())) {
used.add(ext.copy().setStackSize(1));
found = true;
} else {
found = false;
}
}
}
} else {
found = true;
}
}
}