From a8c60180d732ba574f1b4f50268e759873323efa Mon Sep 17 00:00:00 2001 From: Austin Smith Date: Wed, 13 Feb 2013 09:52:16 -0700 Subject: [PATCH] Don't instantiate a ReconnectHandler if a plugin has provided one on load --- proxy/src/main/java/net/md_5/bungee/BungeeCord.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 9a89831c..9bcfeebc 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java @@ -155,7 +155,10 @@ public class BungeeCord extends ProxyServer plugins.mkdir(); pluginManager.loadPlugins( plugins ); config.load(); - reconnectHandler = new YamlReconnectHandler(); + if ( reconnectHandler == null ) + { + reconnectHandler = new YamlReconnectHandler(); + } isRunning = true; pluginManager.enablePlugins();