mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-26 13:09:22 +01:00
parent
dc96af3343
commit
30f10d5b91
1 changed files with 4 additions and 4 deletions
|
@ -63,10 +63,7 @@ public class FilterSettings{
|
|||
ItemStack slot = filter.getStackInSlot(i);
|
||||
|
||||
if(StackUtil.isValid(slot)){
|
||||
if(areEqualEnough(slot, stack, meta, nbt, mod, oredict)){
|
||||
return whitelist;
|
||||
}
|
||||
else if(SlotFilter.isFilter(slot)){
|
||||
if(SlotFilter.isFilter(slot)){
|
||||
ItemStackHandlerCustom inv = new ItemStackHandlerCustom(ContainerFilter.SLOT_AMOUNT);
|
||||
ItemDrill.loadSlotsFromNBT(inv, slot);
|
||||
for(int k = 0; k < inv.getSlots(); k++){
|
||||
|
@ -76,6 +73,9 @@ public class FilterSettings{
|
|||
}
|
||||
}
|
||||
}
|
||||
else if(areEqualEnough(slot, stack, meta, nbt, mod, oredict)){
|
||||
return whitelist;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue