Don't instantiate a ReconnectHandler if a plugin has provided one on load
This commit is contained in:
parent
379376f0fa
commit
a8c60180d7
@ -155,7 +155,10 @@ public class BungeeCord extends ProxyServer
|
|||||||
plugins.mkdir();
|
plugins.mkdir();
|
||||||
pluginManager.loadPlugins( plugins );
|
pluginManager.loadPlugins( plugins );
|
||||||
config.load();
|
config.load();
|
||||||
|
if ( reconnectHandler == null )
|
||||||
|
{
|
||||||
reconnectHandler = new YamlReconnectHandler();
|
reconnectHandler = new YamlReconnectHandler();
|
||||||
|
}
|
||||||
isRunning = true;
|
isRunning = true;
|
||||||
|
|
||||||
pluginManager.enablePlugins();
|
pluginManager.enablePlugins();
|
||||||
|
Loading…
Reference in New Issue
Block a user