aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2025-04-10 15:40:43 +0800
committershedaniel <daniel@shedaniel.me>2025-04-10 15:40:43 +0800
commit9d3bb3cfc7d0c494b33e5d914487a404f2f9d02e (patch)
tree6d4abbd411f20318d36f8978e201ed64beabdf50 /runtime
parent517ae60f0d349d3276e27d09feb758950133296d (diff)
parent6e27794148e2c75f7cdbb5cf57bd2c38eb511a31 (diff)
downloadRoughlyEnoughItems-9d3bb3cfc7d0c494b33e5d914487a404f2f9d02e.tar.gz
RoughlyEnoughItems-9d3bb3cfc7d0c494b33e5d914487a404f2f9d02e.tar.bz2
RoughlyEnoughItems-9d3bb3cfc7d0c494b33e5d914487a404f2f9d02e.zip
Merge remote-tracking branch 'origin/17.x-1.21.2' into 18.x-1.21.4
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/common/transfer/InputSlotCrafter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/common/transfer/InputSlotCrafter.java b/runtime/src/main/java/me/shedaniel/rei/impl/common/transfer/InputSlotCrafter.java
index 86dfefca5..f79bb65bc 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/common/transfer/InputSlotCrafter.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/common/transfer/InputSlotCrafter.java
@@ -135,7 +135,7 @@ public abstract class InputSlotCrafter<T extends AbstractContainerMenu, C extend
for (ItemStack itemId : recipeItems) {
// Fix issue with empty item id (grid slot) [shift-click issue]
- if (itemId == 0) {
+ if (itemId.isEmpty()) {
continue;
}
finalCraftsAmount = Math.min(finalCraftsAmount, itemId.getMaxStackSize());