Skip to content

Commit

Permalink
Actually parse placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Feb 29, 2024
1 parent 31cdac6 commit cf73aa7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -84,10 +84,10 @@ public ItemBuilder getMenuButton(Player player) {

if (MiscUtils.isPapiActive()) {
// Set new lore.
button.setLore(player, button.getLore());
button.setLore(player, this.config.getProperty(ConfigKeys.menu_button_lore));

// Set new name.
button.setName(button.getName());
button.setName(PlaceholderAPI.setPlaceholders(player, this.config.getProperty(ConfigKeys.menu_button_name)));
}

return this.menuButton;
Expand Down

0 comments on commit cf73aa7

Please sign in to comment.