diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-03 02:40:47 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-03 02:40:47 +0000 |
commit | 853d00fe982b122f193c0fcfa5455132807907cc (patch) | |
tree | fe36a63f93fe7e36ae9033e58ba46d13a08e10c9 /src/main | |
parent | c7b0db5f50a5610bd81ed2838da5928ab6c87b86 (diff) | |
download | craftbukkit-853d00fe982b122f193c0fcfa5455132807907cc.tar craftbukkit-853d00fe982b122f193c0fcfa5455132807907cc.tar.gz craftbukkit-853d00fe982b122f193c0fcfa5455132807907cc.tar.lz craftbukkit-853d00fe982b122f193c0fcfa5455132807907cc.tar.xz craftbukkit-853d00fe982b122f193c0fcfa5455132807907cc.zip |
Changed to pluginmanager direct for enabling plugins
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index a6af4cf5..811b3143 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); |