mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +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);
|
ItemStack slot = filter.getStackInSlot(i);
|
||||||
|
|
||||||
if(StackUtil.isValid(slot)){
|
if(StackUtil.isValid(slot)){
|
||||||
if(areEqualEnough(slot, stack, meta, nbt, mod, oredict)){
|
if(SlotFilter.isFilter(slot)){
|
||||||
return whitelist;
|
|
||||||
}
|
|
||||||
else if(SlotFilter.isFilter(slot)){
|
|
||||||
ItemStackHandlerCustom inv = new ItemStackHandlerCustom(ContainerFilter.SLOT_AMOUNT);
|
ItemStackHandlerCustom inv = new ItemStackHandlerCustom(ContainerFilter.SLOT_AMOUNT);
|
||||||
ItemDrill.loadSlotsFromNBT(inv, slot);
|
ItemDrill.loadSlotsFromNBT(inv, slot);
|
||||||
for(int k = 0; k < inv.getSlots(); k++){
|
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