From 1987cadbd5bad5d93fa37737376dd8c1a56c30ae Mon Sep 17 00:00:00 2001 From: Robin Date: Thu, 13 Jun 2024 18:16:07 +0100 Subject: [PATCH] fix weird errors --- src/main/java/xyz/oribuin/eternaltags/gui/menu/CategoryGUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xyz/oribuin/eternaltags/gui/menu/CategoryGUI.java b/src/main/java/xyz/oribuin/eternaltags/gui/menu/CategoryGUI.java index fc369f3..aa92e33 100644 --- a/src/main/java/xyz/oribuin/eternaltags/gui/menu/CategoryGUI.java +++ b/src/main/java/xyz/oribuin/eternaltags/gui/menu/CategoryGUI.java @@ -177,7 +177,7 @@ public void addCategories(@NotNull BaseGui gui, @NotNull Player player) { if (this.config.getBoolean("gui-settings.only-unlocked-categories")) placeholders.add("unlocked", this.manager.getCategoryTags(category, player).size()); - ItemStack item = TagsUtils.deserialize(this.config, player, "categories." + category.getId().toLowerCase() + ".display-item", placeholders.build()); + ItemStack item = TagsUtils.deserialize(this.config, player, "categories." + category.getId() + ".display-item", placeholders.build()); if (item == null) { // this.rosePlugin.getLogger().info("Failed to load category " + category.getId() + " for the gui, the display item is invalid, Using default value.");