From 155ca46fefc0802f2a6a5bf00957686bd3451f5a Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sat, 22 Sep 2012 14:40:56 +0100 Subject: Clean chat colours. --- Essentials/src/com/earth2me/essentials/Settings.java | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3