mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-10 17:31:24 +01:00
Parse MiniMessage in default command usage & descriptions (#6018)
This commit is contained in:
parent
1a4d75ced7
commit
d232ce4037
@ -612,8 +612,8 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
||||
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")));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user