resolve tags in click for flag info command

This commit is contained in:
SirYwell 2022-05-14 20:49:12 +02:00
parent 62ee60a76c
commit 96fcbabfe6
1 changed files with 2 additions and 2 deletions

View File

@ -689,8 +689,8 @@ public final class FlagCommand extends Command {
TranslatableCaption.of("flag.flag_info_example"), TranslatableCaption.of("flag.flag_info_example"),
TagResolver.builder() TagResolver.builder()
.tag("command", Tag.preProcessParsed("/plot flag set")) .tag("command", Tag.preProcessParsed("/plot flag set"))
.tag("flag", Tag.inserting(Component.text(plotFlag.getName()))) .tag("flag", Tag.preProcessParsed(plotFlag.getName()))
.tag("value", Tag.inserting(Component.text(plotFlag.getExample()))) .tag("value", Tag.preProcessParsed(plotFlag.getExample()))
.build() .build()
); );
// Default value // Default value