mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-12-22 23:39:22 +01:00
fixed filters being too picky
This commit is contained in:
parent
db3b2f0551
commit
2b882649fb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue