From dc5b6726dc7db16c759a85303e9fa4cf507e3d50 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 3 Jan 2011 02:40:47 +0000 Subject: [PATCH] Changed to pluginmanager direct for enabling plugins By: Dinnerbone --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index a6af4cf5b5..811b31435e 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -36,7 +36,7 @@ public final class CraftServer implements Server { Plugin[] plugins = plugins = pluginManager.loadPlugins(pluginFolder); for (Plugin plugin : plugins) { - plugin.getPluginLoader().enablePlugin(plugin); + pluginManager.enablePlugin(plugin); } } catch (Throwable ex) { Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, "(Is it up to date?)", ex);