summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-03-23 00:19:27 +0000
committerKHobbits <rob@khobbits.co.uk>2012-03-23 00:19:27 +0000
commit2464429683dcb959dfcfdc8d04c5bc3aad6180a1 (patch)
tree981d86560a64302a0febc75d63b2b4122887b6c0
parentbac1cb41dce7fb1874e5a95b0c404da62f4955d4 (diff)
downloadEssentials-2464429683dcb959dfcfdc8d04c5bc3aad6180a1.tar
Essentials-2464429683dcb959dfcfdc8d04c5bc3aad6180a1.tar.gz
Essentials-2464429683dcb959dfcfdc8d04c5bc3aad6180a1.tar.lz
Essentials-2464429683dcb959dfcfdc8d04c5bc3aad6180a1.tar.xz
Essentials-2464429683dcb959dfcfdc8d04c5bc3aad6180a1.zip
Fixing chat color formatting.
-rw-r--r--Essentials/src/com/earth2me/essentials/Util.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Util.java b/Essentials/src/com/earth2me/essentials/Util.java
index 53ee4b8f3..48eb770b2 100644
--- a/Essentials/src/com/earth2me/essentials/Util.java
+++ b/Essentials/src/com/earth2me/essentials/Util.java
@@ -520,7 +520,7 @@ public class Util
{
return null;
}
- return REPLACE_PATTERN.matcher(input).replaceAll("");
+ return REPLACE_PATTERN.matcher(input).replaceAll("\u00a7$1");
}
public static String blockURL(final String input)