diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-10-26 07:01:50 +0100 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-10-26 07:01:50 +0100 |
commit | 15ebc7d902efcdac2003ae85236298336efcad07 (patch) | |
tree | d57d466aefb95cf4c96c2035a9dbc7d039a5ba25 /src | |
parent | bfa45985c524ee79cc672531682ebee0664cacea (diff) | |
download | bukkit-15ebc7d902efcdac2003ae85236298336efcad07.tar bukkit-15ebc7d902efcdac2003ae85236298336efcad07.tar.gz bukkit-15ebc7d902efcdac2003ae85236298336efcad07.tar.lz bukkit-15ebc7d902efcdac2003ae85236298336efcad07.tar.xz bukkit-15ebc7d902efcdac2003ae85236298336efcad07.zip |
Fixed stripColor taking more than it should, thanks to fieldmaster for catching it
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/ChatColor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/ChatColor.java b/src/main/java/org/bukkit/ChatColor.java index 834bcc68..06540b2c 100644 --- a/src/main/java/org/bukkit/ChatColor.java +++ b/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 { |