geforkt von Mirrors/Paper
SPIGOT-6914: Remove confusing loadbefore message for dependency issues
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
4504a6a32d
Commit
8b26bf228f
@ -132,10 +132,10 @@ final class PluginClassLoader extends URLClassLoader {
|
|||||||
|
|
||||||
seenIllegalAccess.add(provider.getName());
|
seenIllegalAccess.add(provider.getName());
|
||||||
if (plugin != null) {
|
if (plugin != null) {
|
||||||
plugin.getLogger().log(Level.WARNING, "Loaded class {0} from {1} which is not a depend, softdepend or loadbefore of this plugin.", new Object[]{name, provider.getFullName()});
|
plugin.getLogger().log(Level.WARNING, "Loaded class {0} from {1} which is not a depend or softdepend of this plugin.", new Object[]{name, provider.getFullName()});
|
||||||
} else {
|
} else {
|
||||||
// In case the bad access occurs on construction
|
// In case the bad access occurs on construction
|
||||||
loader.server.getLogger().log(Level.WARNING, "[{0}] Loaded class {1} from {2} which is not a depend, softdepend or loadbefore of this plugin.", new Object[]{description.getName(), name, provider.getFullName()});
|
loader.server.getLogger().log(Level.WARNING, "[{0}] Loaded class {1} from {2} which is not a depend or softdepend of this plugin.", new Object[]{description.getName(), name, provider.getFullName()});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren