Merge pull request #6406 from VoidLeech/mc1.18/fix-filter-ignoring-respect-data

Fix Filters not Respecting 'Respect Data' option
This commit is contained in:
simibubi 2024-07-17 12:51:04 +02:00 committed by GitHub
commit f09931c1a9
Failed to generate hash of commit

View file

@ -128,7 +128,7 @@ public class FilterItemStack {
containedItems.add(FilterItemStack.of(stackInSlot));
}
shouldRespectNBT = !defaults ? false
shouldRespectNBT = defaults ? false
: filter.getTag()
.getBoolean("RespectNBT");
isBlacklist = defaults ? false