diff options
author | Taylor Kelly <tkelly910@gmail.com> | 2011-01-27 16:15:41 -0500 |
---|---|---|
committer | Taylor Kelly <tkelly910@gmail.com> | 2011-01-27 16:15:41 -0500 |
commit | cab61f169e16e5871f5b2c6bf7d729b221fe37f7 (patch) | |
tree | 011b51691ae8e79d8bf9185fec8e52aec26afd36 /src/main/java/org/bukkit | |
parent | 105a14d6d13a61881a20cd9e5baa4b7b8e4dd15f (diff) | |
download | craftbukkit-cab61f169e16e5871f5b2c6bf7d729b221fe37f7.tar craftbukkit-cab61f169e16e5871f5b2c6bf7d729b221fe37f7.tar.gz craftbukkit-cab61f169e16e5871f5b2c6bf7d729b221fe37f7.tar.lz craftbukkit-cab61f169e16e5871f5b2c6bf7d729b221fe37f7.tar.xz craftbukkit-cab61f169e16e5871f5b2c6bf7d729b221fe37f7.zip |
onDisable on stop - stephank
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 68c9eb59..8368d377 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -52,6 +52,10 @@ public final class CraftServer implements Server { } } + public void disablePlugins() { + pluginManager.disablePlugins(); + } + private void loadPlugin(Plugin plugin) { List<Command> pluginCommands = PluginCommandYamlParser.parse(plugin); if (!pluginCommands.isEmpty()) { |