Fix bug where disablePlugin could remove ConfigurationSerializable classes from other plugins
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -149,9 +149,9 @@ final class PluginClassLoader extends URLClassLoader {
|
|||||||
if (result != null) {
|
if (result != null) {
|
||||||
loader.setClass(name, result);
|
loader.setClass(name, result);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
classes.put(name, result);
|
classes.put(name, result);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user