Skip to content

Commit

Permalink
Added 1.16+ Hex color
Browse files Browse the repository at this point in the history
  • Loading branch information
Andross96 committed Jun 11, 2021
1 parent dddfd61 commit a5e947a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/nametagedit/plugin/NametagMessages.java
Expand Up @@ -32,7 +32,7 @@ public enum NametagMessages {

@Override
public String toString() {
return ChatColor.translateAlternateColorCodes('&', "&8» &a" + text);
return Utils.color("&8» &a" + text);
}

public void send(CommandSender sender) {
Expand All @@ -47,4 +47,4 @@ public void send(CommandSender sender, Object... object) {
sender.sendMessage(String.format(toString(), object));
}

}
}

0 comments on commit a5e947a

Please sign in to comment.