Skip to content

Commit 9d3bb3c

Browse files
committed
Merge remote-tracking branch 'origin/17.x-1.21.2' into 18.x-1.21.4
2 parents 517ae60 + 6e27794 commit 9d3bb3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/src/main/java/me/shedaniel/rei/impl/common/transfer/InputSlotCrafter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ protected void fillInputSlots(ItemRecipeFinder recipeFinder, List<List<ItemStack
135135

136136
for (ItemStack itemId : recipeItems) {
137137
// Fix issue with empty item id (grid slot) [shift-click issue]
138-
if (itemId == 0) {
138+
if (itemId.isEmpty()) {
139139
continue;
140140
}
141141
finalCraftsAmount = Math.min(finalCraftsAmount, itemId.getMaxStackSize());

0 commit comments

Comments
 (0)