diff --git a/paper-api/src/main/java/org/bukkit/ChatColor.java b/paper-api/src/main/java/org/bukkit/ChatColor.java index 834bcc68ad..06540b2cac 100644 --- a/paper-api/src/main/java/org/bukkit/ChatColor.java +++ b/paper-api/src/main/java/org/bukkit/ChatColor.java @@ -115,7 +115,7 @@ public enum ChatColor { return null; } - return input.replaceAll("(?i)\u00A7[0-F]", ""); + return input.replaceAll("(?i)\u00A7[0-9A-F]", ""); } static {