mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
Fix bug where disablePlugin could remove ConfigurationSerializable classes from other plugins
By: md_5 <git@md-5.net>
This commit is contained in:
parent
0c53c95293
commit
750cc90cb7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user