geforkt von SteamWar/BungeeCore
Fix ConcurrentModificationException
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
c0301a8014
Commit
c08bfe75b9
@ -74,7 +74,7 @@ public class Message {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static ResourceBundle getResourceBundle(Locale locale) {
|
private static ResourceBundle getResourceBundle(Locale locale) {
|
||||||
return bundles.computeIfAbsent(locale.toString(), locale1 -> getResourceBundle(locale.toString(), getResourceBundle(locale.getLanguage(), getResourceBundle( "", (ResourceBundle) null))));
|
return getResourceBundle(locale.toString(), getResourceBundle(locale.getLanguage(), getResourceBundle( "", (ResourceBundle) null)));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String parse(String message, boolean prefixed, Locale locale, Object... params){
|
private static String parse(String message, boolean prefixed, Locale locale, Object... params){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren