aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2025-04-10 15:40:32 +0800
committershedaniel <daniel@shedaniel.me>2025-04-10 15:40:32 +0800
commit6e27794148e2c75f7cdbb5cf57bd2c38eb511a31 (patch)
tree1584710253402ebc597c7218c4bbe57a80a4be60
parentc2beec0fc603e70db9f224303eed4099ff44f0d0 (diff)
downloadRoughlyEnoughItems-6e27794148e2c75f7cdbb5cf57bd2c38eb511a31.tar.gz
RoughlyEnoughItems-6e27794148e2c75f7cdbb5cf57bd2c38eb511a31.tar.bz2
RoughlyEnoughItems-6e27794148e2c75f7cdbb5cf57bd2c38eb511a31.zip
Fix compile error
-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());