1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 11:37:30 +02:00

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("{SHORTWORLDNAME}", "{2}");
format = format.replaceAll("\\{(\\D*?)\\}", "\\[$1\\]");
format = "§r".concat(format);
mFormat = new MessageFormat(format);
chatFormats.put(group, mFormat);
}