From 853d00fe982b122f193c0fcfa5455132807907cc Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Mon, 3 Jan 2011 02:40:47 +0000 Subject: [PATCH] Changed to pluginmanager direct for enabling plugins --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index a6af4cf5b5..811b31435e 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/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);