diff --git a/src/main/java/com/songoda/epicheads/commands/CommandUrl.java b/src/main/java/com/songoda/epicheads/commands/CommandUrl.java index 7926337..d651f13 100644 --- a/src/main/java/com/songoda/epicheads/commands/CommandUrl.java +++ b/src/main/java/com/songoda/epicheads/commands/CommandUrl.java @@ -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; }