Parse commands before putting them in template

This commit is contained in:
Teriuihi 2022-01-30 19:49:53 +01:00
parent 70d26a2255
commit f8ede610b2

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()))
));
}