Skip to content

Commit

Permalink
fix weird errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Oribuin committed Jun 13, 2024
1 parent d6ce0ed commit 1987cad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down

0 comments on commit 1987cad

Please # to comment.