From c08bfe75b907e81014d4749756bbc3ce3d5cd6fd Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 16 Mar 2022 16:30:38 +0100 Subject: [PATCH] Fix ConcurrentModificationException Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/Message.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/Message.java b/src/de/steamwar/bungeecore/Message.java index cca89f7..acaa189 100644 --- a/src/de/steamwar/bungeecore/Message.java +++ b/src/de/steamwar/bungeecore/Message.java @@ -74,7 +74,7 @@ public class Message { } 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){