diff options
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(); } |