summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-09-22 14:40:56 +0100
committerKHobbits <rob@khobbits.co.uk>2012-09-22 14:40:56 +0100
commit61733ad1e5fd5ef75e08e82326808a7f63b648c5 (patch)
tree90f630f14f637e5796fab6d4ad7781cd1db50b66
parentb35f6bd6fe577bf7e93714ef0d4d31c828b5814e (diff)
downloadEssentials-61733ad1e5fd5ef75e08e82326808a7f63b648c5.tar
Essentials-61733ad1e5fd5ef75e08e82326808a7f63b648c5.tar.gz
Essentials-61733ad1e5fd5ef75e08e82326808a7f63b648c5.tar.lz
Essentials-61733ad1e5fd5ef75e08e82326808a7f63b648c5.tar.xz
Essentials-61733ad1e5fd5ef75e08e82326808a7f63b648c5.zip
Clean chat colours.
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java
index 3530e3de2..fff129d52 100644
--- a/Essentials/src/com/earth2me/essentials/Settings.java
+++ b/Essentials/src/com/earth2me/essentials/Settings.java
@@ -367,6 +367,7 @@ public class Settings implements ISettings
format = format.replace("{WORLDNAME}", "{1}");
format = format.replace("{SHORTWORLDNAME}", "{2}");
format = format.replaceAll("\\{(\\D*?)\\}", "\\[$1\\]");
+ format = "§r".concat(format);
mFormat = new MessageFormat(format);
chatFormats.put(group, mFormat);
}