Make sure plugin onLoad is really called onLoad. This fixes regression #822 from when we implemented plugin depends.

This commit is contained in:
md_5
2014-01-22 12:07:16 +11:00
parent 05f4e69afd
commit aa91354666
2 changed files with 7 additions and 2 deletions

View File

@@ -194,11 +194,13 @@ public class BungeeCord extends ProxyServer
pluginsFolder.mkdir();
pluginManager.detectPlugins( pluginsFolder );
pluginManager.loadPlugins();
config.load();
isRunning = true;
pluginManager.loadAndEnablePlugins();
pluginManager.enablePlugins();
connectionThrottle = new ConnectionThrottle( config.getThrottle() );
startListeners();