Bug fixes

This commit is contained in:
Esophose 2020-01-17 03:53:54 -07:00
parent 1751b243e5
commit 932ae61733
10 changed files with 27 additions and 27 deletions

View file

@ -107,7 +107,7 @@ public class LocaleManager extends Manager {
public String getLocaleMessage(String messageKey, StringPlaceholders stringPlaceholders) {
String message = this.locale.getString(messageKey);
if (message == null)
return "null";
return ChatColor.RED + "Missing message in locale file: " + messageKey;
return ChatColor.translateAlternateColorCodes('&', stringPlaceholders.apply(message));
}