geforkt von Mirrors/Paper
Fix buggy classloader warning triggering for all classes
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
fe8b567ad1
Commit
0fc1ae9b1c
@ -106,7 +106,8 @@ final class PluginClassLoader extends URLClassLoader {
|
||||
if (result != null) {
|
||||
JavaPlugin provider = ((PluginClassLoader) result.getClassLoader()).plugin;
|
||||
|
||||
if (!description.getDepend().contains(provider.getName())
|
||||
if (provider != plugin
|
||||
&& !description.getDepend().contains(provider.getName())
|
||||
&& !description.getSoftDepend().contains(provider.getName())
|
||||
&& !provider.getDescription().getLoadBefore().contains(description.getName())) {
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren