From 12bf210f55c4702d10c3b42ca77c1257a292751b Mon Sep 17 00:00:00 2001 From: VoidLeech Date: Wed, 24 Apr 2024 16:25:36 +0200 Subject: [PATCH] Fix filters ignoring 'respect data' option --- .../create/content/logistics/filter/FilterItemStack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/logistics/filter/FilterItemStack.java b/src/main/java/com/simibubi/create/content/logistics/filter/FilterItemStack.java index 78d5095eb..9773e9cf8 100644 --- a/src/main/java/com/simibubi/create/content/logistics/filter/FilterItemStack.java +++ b/src/main/java/com/simibubi/create/content/logistics/filter/FilterItemStack.java @@ -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