mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +00:00
Clean chat colours.
This commit is contained in:
parent
0952150235
commit
155ca46fef
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue