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/net | |
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/net')
-rw-r--r-- | src/main/java/net/minecraft/server/MinecraftServer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 1011b9a7..56755c17 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -160,6 +160,10 @@ public class MinecraftServer implements ICommandListener, Runnable { private void g() { a.info("Stopping server"); + if(server != null) { + server.disablePlugins(); + } + if (f != null) { f.d(); } |