Skip to content

Commit

Permalink
Parse MiniMessage in default command usage & descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
JRoy committed Jan 25, 2025
1 parent e2295c1 commit 9c867cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,8 @@ public void reload() {
for (final String commandName : this.getDescription().getCommands().keySet()) {
final Command command = this.getCommand(commandName);
if (command != null) {
command.setDescription(tlLiteral(commandName + "CommandDescription"));
command.setUsage(tlLiteral(commandName + "CommandUsage"));
command.setDescription(AdventureUtil.miniToLegacy(tlLiteral(commandName + "CommandDescription")));
command.setUsage(AdventureUtil.miniToLegacy(tlLiteral(commandName + "CommandUsage")));
}
}

Expand Down

0 comments on commit 9c867cc

Please sign in to comment.