From 96fcbabfe6fa227d5268136ad4ae3c19571f9711 Mon Sep 17 00:00:00 2001 From: SirYwell Date: Sat, 14 May 2022 20:49:12 +0200 Subject: [PATCH] resolve tags in click for flag info command --- .../main/java/com/plotsquared/core/command/FlagCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/FlagCommand.java b/Core/src/main/java/com/plotsquared/core/command/FlagCommand.java index 553a215c0..51af5d404 100644 --- a/Core/src/main/java/com/plotsquared/core/command/FlagCommand.java +++ b/Core/src/main/java/com/plotsquared/core/command/FlagCommand.java @@ -689,8 +689,8 @@ public final class FlagCommand extends Command { TranslatableCaption.of("flag.flag_info_example"), TagResolver.builder() .tag("command", Tag.preProcessParsed("/plot flag set")) - .tag("flag", Tag.inserting(Component.text(plotFlag.getName()))) - .tag("value", Tag.inserting(Component.text(plotFlag.getExample()))) + .tag("flag", Tag.preProcessParsed(plotFlag.getName())) + .tag("value", Tag.preProcessParsed(plotFlag.getExample())) .build() ); // Default value