Fine tuning captions

Fix listchunks throwing component error
This commit is contained in:
NotMyFault
2021-04-06 14:01:04 +02:00
parent dc51379e8f
commit 01dff32597
16 changed files with 97 additions and 86 deletions

View File

@ -329,7 +329,7 @@ public class BukkitPlayer extends AbstractPlayerActor {
@Override
public void sendAnnouncements() {
if (WorldEditPlugin.getInstance().getBukkitImplAdapter() == null) {
printError(TranslatableComponent.of("worldedit.version.bukkit.unsupported-adapter",
print(Caption.of("worldedit.version.bukkit.unsupported-adapter",
TextComponent.of("https://intellectualsites.github.io/download/fawe.html", TextColor.AQUA)
.clickEvent(ClickEvent.openUrl("https://intellectualsites.github.io/download/fawe.html"))));
}