summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-05-19 01:03:54 +0100
committerKHobbits <rob@khobbits.co.uk>2013-05-19 01:03:54 +0100
commita738e49e3c73eba5a5b03ea0afe90ce139186cc5 (patch)
tree43d61f723bda5c5059ae4b15538c08a8326c5602
parent9dc6e7ad1eaf1ddd84a39c875bccbd1c1ff25f47 (diff)
downloadEssentials-a738e49e3c73eba5a5b03ea0afe90ce139186cc5.tar
Essentials-a738e49e3c73eba5a5b03ea0afe90ce139186cc5.tar.gz
Essentials-a738e49e3c73eba5a5b03ea0afe90ce139186cc5.tar.lz
Essentials-a738e49e3c73eba5a5b03ea0afe90ce139186cc5.tar.xz
Essentials-a738e49e3c73eba5a5b03ea0afe90ce139186cc5.zip
Default chat formatting should strip all format codes, not just colours.
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java
index c4da3367c..78e661b8e 100644
--- a/Essentials/src/com/earth2me/essentials/Settings.java
+++ b/Essentials/src/com/earth2me/essentials/Settings.java
@@ -410,7 +410,7 @@ public class Settings implements ISettings
if (mFormat == null)
{
String format = config.getString("chat.group-formats." + (group == null ? "Default" : group),
- config.getString("chat.format", "&7[{GROUP}]&f {DISPLAYNAME}&7:&f {MESSAGE}"));
+ config.getString("chat.format", "&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}"));
format = Util.replaceFormat(format);
format = format.replace("{DISPLAYNAME}", "%1$s");
format = format.replace("{GROUP}", "{0}");