mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
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();
|
||||
pluginManager.loadPlugins( plugins );
|
||||
config.load();
|
||||
reconnectHandler = new YamlReconnectHandler();
|
||||
if ( reconnectHandler == null )
|
||||
{
|
||||
reconnectHandler = new YamlReconnectHandler();
|
||||
}
|
||||
isRunning = true;
|
||||
|
||||
pluginManager.enablePlugins();
|
||||
|
Loading…
Reference in New Issue
Block a user