Parse commands before putting them in template

This commit is contained in:
Teriuihi 2022-01-30 19:49:53 +01:00 committed by destro174
parent 2acebc6c16
commit f2aeb2c300

View File

@ -108,7 +108,7 @@ public class PartyCommand implements SimpleCommand {
stringBuilder.replace(stringBuilder.length() - 1, stringBuilder.length(), "");
return Utility.parseMiniMessage(Config.PARTY_HELP_WRAPPER, List.of(
Template.template("commands", stringBuilder.toString())
Template.template("commands", Utility.parseMiniMessage(stringBuilder.toString()))
));
}