mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-25 01:44:26 +00:00
Fix zero length prefixes from locale files
This commit is contained in:
1 file changed
-4
@@ -469,10 +469,6 @@ public enum Message {
|
||||
s = message;
|
||||
}
|
||||
|
||||
if (s.startsWith("&")) {
|
||||
prefix = prefix.substring(0, prefix.length() - 2);
|
||||
}
|
||||
|
||||
s = format(s.replace("{PREFIX}", prefix).replace("\\n", "\n"), objects);
|
||||
return CommandUtils.color(showPrefix ? prefix + s : s);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user