summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorTaylor Kelly <tkelly910@gmail.com>2011-01-27 16:15:41 -0500
committerTaylor Kelly <tkelly910@gmail.com>2011-01-27 16:15:41 -0500
commitcab61f169e16e5871f5b2c6bf7d729b221fe37f7 (patch)
tree011b51691ae8e79d8bf9185fec8e52aec26afd36 /src/main/java/org
parent105a14d6d13a61881a20cd9e5baa4b7b8e4dd15f (diff)
downloadcraftbukkit-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')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java4
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()) {