Fix bug where disablePlugin could remove ConfigurationSerializable classes from other plugins

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot committed 2020-01-26 12:42:25 +11:00
1 parent 0c53c95293
commit 750cc90cb7
1 file changed
+2 -2
@@ -149,9 +149,9 @@ final class PluginClassLoader extends URLClassLoader {
if (result != null) {
loader.setClass(name, result);
}
}
classes.put(name, result);
classes.put(name, result);
}
}
return result;