Fixes url command sending non-clickable url

SD-8947
This commit is contained in:
Christian Koop 2022-01-16 00:38:00 +01:00
parent 68360a749f
commit 9babe586dd
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class CommandUrl extends AbstractCommand {
String url = ItemUtils.getDecodedTexture(encodededStr);
plugin.getLocale().newMessage("http://textures.minecraft.net/texture/" + url).sendPrefixedMessage(player);
player.sendMessage(plugin.getLocale().newMessage("http://textures.minecraft.net/texture/" + url).getPrefixedMessage());
return ReturnType.SUCCESS;
}