diff options
| author | shedaniel <daniel@shedaniel.me> | 2025-04-10 15:40:32 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2025-04-10 15:40:32 +0800 |
| commit | 6e27794148e2c75f7cdbb5cf57bd2c38eb511a31 (patch) | |
| tree | 1584710253402ebc597c7218c4bbe57a80a4be60 /runtime/src | |
| parent | c2beec0fc603e70db9f224303eed4099ff44f0d0 (diff) | |
| download | RoughlyEnoughItems-6e27794148e2c75f7cdbb5cf57bd2c38eb511a31.tar.gz RoughlyEnoughItems-6e27794148e2c75f7cdbb5cf57bd2c38eb511a31.tar.bz2 RoughlyEnoughItems-6e27794148e2c75f7cdbb5cf57bd2c38eb511a31.zip | |
Fix compile error
Diffstat (limited to 'runtime/src')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/common/transfer/InputSlotCrafter.java | 2 |
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()); |
