diff --git a/src/main/java/dev/emortal/minestom/core/module/core/badge/BadgeGui.java b/src/main/java/dev/emortal/minestom/core/module/core/badge/BadgeGui.java index d2ac82b..0ebb1b9 100644 --- a/src/main/java/dev/emortal/minestom/core/module/core/badge/BadgeGui.java +++ b/src/main/java/dev/emortal/minestom/core/module/core/badge/BadgeGui.java @@ -93,6 +93,7 @@ public BadgeGui(@NotNull BadgeService badgeService, @NotNull Player player) { private void drawInventory(@NotNull List allBadges, @NotNull Set ownedBadgeIds, @Nullable String activeBadgeId) { List badges = allBadges.stream() + .filter(badge -> !badge.getGuiItem().getMaterial().equals("minecraft:air")) .sorted(Comparator.comparingLong(Badge::getPriority)) .toList();