mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-11 06:45:41 +00:00
Bug fixes
This commit is contained in:
parent
1751b243e5
commit
932ae61733
10 changed files with 27 additions and 27 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue