And people think dependancy loading is easy. Close #381

This commit is contained in:
md_5
2013-06-05 18:24:33 +10:00
parent 33d315b719
commit b1e3f6a75b
4 changed files with 65 additions and 67 deletions

View File

@@ -195,7 +195,7 @@ public class BungeeCord extends ProxyServer
public void start() throws Exception
{
pluginsFolder.mkdir();
pluginManager.loadPlugins( pluginsFolder );
pluginManager.detectPlugins( pluginsFolder );
config.load();
if ( reconnectHandler == null )
{
@@ -203,7 +203,7 @@ public class BungeeCord extends ProxyServer
}
isRunning = true;
pluginManager.enablePlugins();
pluginManager.loadAndEnablePlugins();
startListeners();