SteamWar/BungeeCore
Archiviert
13
2

Hotfix message
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-02-04 12:59:47 +01:00
Ursprung cce444719d
Commit 0f47914c4d

Datei anzeigen

@ -64,6 +64,8 @@ public class Message {
} }
private static String parse(String message, boolean prefixed, Locale locale, Object... params){ private static String parse(String message, boolean prefixed, Locale locale, Object... params){
if(locale == null)
locale = Locale.getDefault();
ResourceBundle resourceBundle = ResourceBundle.getBundle("de.steamwar.messages.BungeeCore", locale, CONTROL); ResourceBundle resourceBundle = ResourceBundle.getBundle("de.steamwar.messages.BungeeCore", locale, CONTROL);
String pattern = ""; String pattern = "";
if(prefixed) if(prefixed)