mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 01:25:26 +02:00
Revert "Prevent replacement of { and } characters in chat.format"
This reverts commit 4cb9f58c88
.
This commit is contained in:
@@ -415,8 +415,7 @@ public class Settings implements ISettings
|
||||
format = format.replace("{MESSAGE}", "%2$s");
|
||||
format = format.replace("{WORLDNAME}", "{1}");
|
||||
format = format.replace("{SHORTWORLDNAME}", "{2}");
|
||||
format = format.replaceAll("'", "''");
|
||||
format = format.replaceAll("\\{(\\D*?)\\}", "\\'{$1\\}'");
|
||||
format = format.replaceAll("\\{(\\D*?)\\}", "\\[$1\\]");
|
||||
format = "§r".concat(format);
|
||||
mFormat = new MessageFormat(format);
|
||||
chatFormats.put(group, mFormat);
|
||||
|
Reference in New Issue
Block a user