diff --git a/Common/src/main/java/com/almostreliable/unified/compat/HideHelper.java b/Common/src/main/java/com/almostreliable/unified/compat/HideHelper.java index 5155e92..f7cfc4e 100644 --- a/Common/src/main/java/com/almostreliable/unified/compat/HideHelper.java +++ b/Common/src/main/java/com/almostreliable/unified/compat/HideHelper.java @@ -25,7 +25,10 @@ public class HideHelper { return filteredTagMap.getTags().stream().map(unifyTag -> { Collection itemsByTag = filteredTagMap.getItems(unifyTag); - if (itemsByTag.size() <= 1) return new ArrayList(); + + // avoid hiding single entries and tags that only contain the same namespace for all items + long namespaces = itemsByTag.stream().map(ResourceLocation::getNamespace).distinct().count(); + if (namespaces <= 1) return new ArrayList(); Set replacements = itemsByTag .stream()