diff --git a/src/main/java/com/simibubi/create/foundation/item/ItemHelper.java b/src/main/java/com/simibubi/create/foundation/item/ItemHelper.java index 995a0eebc..b2a454fb8 100644 --- a/src/main/java/com/simibubi/create/foundation/item/ItemHelper.java +++ b/src/main/java/com/simibubi/create/foundation/item/ItemHelper.java @@ -229,7 +229,7 @@ public class ItemHelper { for (int slot = 0; slot < inv.getSlots(); slot++) { if (extracting.isEmpty()) { ItemStack stackInSlot = inv.getStackInSlot(slot); - if (stackInSlot.isEmpty()) + if (stackInSlot.isEmpty() || !test.test(stackInSlot)) continue; int maxExtractionCountForItem = amountFunction.apply(stackInSlot); if (maxExtractionCountForItem == 0)