Skip to content

Commit be6838f

Browse files
authored
Make '/plot download world' clickable (#4239)
1 parent dc73116 commit be6838f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Core/src/main/java/com/plotsquared/core/command/Download.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ public void run(URL url) {
136136
}
137137
player.sendMessage(
138138
TranslatableCaption.of("web.generation_link_success_legacy_world"),
139-
TagResolver.resolver("url", Tag.inserting(Component.text(url.toString())))
139+
TagResolver.builder()
140+
.tag("url", Tag.preProcessParsed(url.toString()))
141+
.build()
140142
);
141143
}
142144
});

0 commit comments

Comments
 (0)