Skip to content

Commit

Permalink
Parse MiniMessage in default command usage & descriptions (#6018)
Browse files Browse the repository at this point in the history
  • Loading branch information
JRoy authored Feb 5, 2025
1 parent 1a4d75c commit d232ce4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,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 d232ce4

Please sign in to comment.