diff --git a/src/net/md_5/bungee/api/bungeepluginmanager/PluginUtils.java b/src/net/md_5/bungee/api/bungeepluginmanager/PluginUtils.java index 781535a..04e3a3c 100644 --- a/src/net/md_5/bungee/api/bungeepluginmanager/PluginUtils.java +++ b/src/net/md_5/bungee/api/bungeepluginmanager/PluginUtils.java @@ -33,6 +33,7 @@ import java.io.InputStream; import java.net.URL; import java.net.URLClassLoader; import java.util.Map; +import java.util.ResourceBundle; import java.util.Set; import java.util.jar.JarEntry; import java.util.jar.JarFile; @@ -111,6 +112,9 @@ public final class PluginUtils { } catch (Exception t) { severe("Failed to cleanup bungee internal maps from plugin refs", t, plugin.getDescription().getName()); } + + ResourceBundle.clearCache(pluginClassLoader); + //close classloader if (pluginClassLoader instanceof URLClassLoader) { try {