From be6838f29ea6ab75af366e0d78e5cc05e3803fe8 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 19 Nov 2023 14:43:07 +0100 Subject: [PATCH] Make '/plot download world' clickable (#4239) --- Core/src/main/java/com/plotsquared/core/command/Download.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Download.java b/Core/src/main/java/com/plotsquared/core/command/Download.java index 1de860586..eb02ce226 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Download.java +++ b/Core/src/main/java/com/plotsquared/core/command/Download.java @@ -136,7 +136,9 @@ public class Download extends SubCommand { } player.sendMessage( TranslatableCaption.of("web.generation_link_success_legacy_world"), - TagResolver.resolver("url", Tag.inserting(Component.text(url.toString()))) + TagResolver.builder() + .tag("url", Tag.preProcessParsed(url.toString())) + .build() ); } });