From 23637ea79ad0febbf84c1f8b0e4351dedd86dd0b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot <noreply+git-bukkit@papermc.io> Date: Mon, 3 Jan 2011 21:46:53 +0000 Subject: [PATCH] Derp hex By: Dinnerbone <dinnerbone@dinnerbone.com> --- paper-api/src/main/java/org/bukkit/Color.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/Color.java b/paper-api/src/main/java/org/bukkit/Color.java index 4ef73ce6a3..f1bc64a2aa 100644 --- a/paper-api/src/main/java/org/bukkit/Color.java +++ b/paper-api/src/main/java/org/bukkit/Color.java @@ -37,7 +37,7 @@ public enum Color { @Override public String toString() { - return "\u00A7" + code; + return String.format("\u00A7%x", code); } static {