mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Fix zero length prefixes from locale files
This commit is contained in:
parent
52ebfe9309
commit
29eba93ee3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user