Make '/plot download world' clickable (#4239)

This commit is contained in:
Alexander Brandes 2023-11-19 14:43:07 +01:00 committed by GitHub
parent dc73116401
commit be6838f29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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