mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-18 00:25:32 +01:00
Clean chat colours.
This commit is contained in:
parent
0952150235
commit
155ca46fef
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user