From 78473d2dd4d1ccca84eff808c82f4ea1e35b5f40 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Thu, 27 Jan 2011 16:15:41 -0500 Subject: [PATCH] onDisable on stop - stephank By: Taylor Kelly --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 ++++ 1 file changed, 4 insertions(+) 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 68c9eb593a..8368d377f7 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/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 pluginCommands = PluginCommandYamlParser.parse(plugin); if (!pluginCommands.isEmpty()) {