From 8b26bf228ff5f564b7894dbe25bb534c3da2bc3a Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 29 Jan 2022 11:50:51 +1100 Subject: [PATCH] SPIGOT-6914: Remove confusing loadbefore message for dependency issues By: md_5 --- .../main/java/org/bukkit/plugin/java/PluginClassLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/plugin/java/PluginClassLoader.java b/paper-api/src/main/java/org/bukkit/plugin/java/PluginClassLoader.java index 6bdd9f1dcc..930f3fe08c 100644 --- a/paper-api/src/main/java/org/bukkit/plugin/java/PluginClassLoader.java +++ b/paper-api/src/main/java/org/bukkit/plugin/java/PluginClassLoader.java @@ -132,10 +132,10 @@ final class PluginClassLoader extends URLClassLoader { seenIllegalAccess.add(provider.getName()); 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 { // 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()}); } } }