diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java index 9bcfeebc..7d50ff96 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java @@ -187,11 +187,6 @@ public class BungeeCord extends ProxyServer public void stop() { this.isRunning = false; - $().info( "Disabling plugins" ); - for ( Plugin plugin : pluginManager.getPlugins() ) - { - plugin.onDisable(); - } for ( ListenThread listener : listeners ) { @@ -219,6 +214,12 @@ public class BungeeCord extends ProxyServer reconnectHandler.save(); saveThread.cancel(); + $().info( "Disabling plugins" ); + for ( Plugin plugin : pluginManager.getPlugins() ) + { + plugin.onDisable(); + } + $().info( "Thank you and goodbye" ); System.exit( 0 ); }