mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-09 12:30:15 +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;
|
s = message;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s.startsWith("&")) {
|
|
||||||
prefix = prefix.substring(0, prefix.length() - 2);
|
|
||||||
}
|
|
||||||
|
|
||||||
s = format(s.replace("{PREFIX}", prefix).replace("\\n", "\n"), objects);
|
s = format(s.replace("{PREFIX}", prefix).replace("\\n", "\n"), objects);
|
||||||
return CommandUtils.color(showPrefix ? prefix + s : s);
|
return CommandUtils.color(showPrefix ? prefix + s : s);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user