Clean chat colours.

This commit is contained in:
KHobbits 2012-09-22 14:40:56 +01:00
parent 0952150235
commit 155ca46fef

View File

@ -367,6 +367,7 @@ public class Settings implements ISettings
format = format.replace("{WORLDNAME}", "{1}"); format = format.replace("{WORLDNAME}", "{1}");
format = format.replace("{SHORTWORLDNAME}", "{2}"); format = format.replace("{SHORTWORLDNAME}", "{2}");
format = format.replaceAll("\\{(\\D*?)\\}", "\\[$1\\]"); format = format.replaceAll("\\{(\\D*?)\\}", "\\[$1\\]");
format = "§r".concat(format);
mFormat = new MessageFormat(format); mFormat = new MessageFormat(format);
chatFormats.put(group, mFormat); chatFormats.put(group, mFormat);
} }