diff --git a/common/src/main/java/muramasa/gregtech/cover/CoverItemRetriever.java b/common/src/main/java/muramasa/gregtech/cover/CoverItemRetriever.java index 1b61c7fe4..ac094eb8e 100644 --- a/common/src/main/java/muramasa/gregtech/cover/CoverItemRetriever.java +++ b/common/src/main/java/muramasa/gregtech/cover/CoverItemRetriever.java @@ -77,12 +77,10 @@ public void onUpdate() { private boolean itemMatches(ItemStack item, ItemStack filter) { boolean empty = filter.isEmpty(); if (empty) { - if (!blacklist) { - return true; - } + return blacklist; } boolean matches = ignoreNBT ? item.is(filter.getItem()) : ItemHandlerUtils.canItemStacksStack(item, filter); - return blacklist == matches; + return blacklist != matches; } @Override