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 2020-01-26 12:42:25 +11:00
parent 0c53c95293
commit 750cc90cb7

View File

@ -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;