From 2b882649fb6c108745d2be85175456e1bfea0193 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 30 Apr 2020 17:14:15 +0200 Subject: [PATCH] fixed filters being too picky --- src/main/java/de/ellpeck/prettypipes/misc/ItemFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/prettypipes/misc/ItemFilter.java b/src/main/java/de/ellpeck/prettypipes/misc/ItemFilter.java index 4530974..6ceb300 100644 --- a/src/main/java/de/ellpeck/prettypipes/misc/ItemFilter.java +++ b/src/main/java/de/ellpeck/prettypipes/misc/ItemFilter.java @@ -97,7 +97,7 @@ public class ItemFilter extends ItemStackHandler { private boolean isFiltered(ItemStack stack) { for (int i = 0; i < this.getSlots(); i++) { ItemStack other = this.getStackInSlot(i); - if (ItemHandlerHelper.canItemStacksStack(stack, other)) + if (ItemStack.areItemsEqual(stack, other)) return true; } return false;