Enable plugins like they were meant to

This commit is contained in:
md_5 2013-01-22 16:00:13 +11:00
parent ccf44336ce
commit 7e41a6cd70

View File

@ -151,13 +151,14 @@ public class BungeeCord extends ProxyServer
*/
public void start() throws IOException
{
File plugins = new File("plugins");
plugins.mkdir();
pluginManager.loadPlugins(plugins);
config.load();
reconnectHandler = new YamlReconnectHandler();
isRunning = true;
File plugins = new File("plugins");
plugins.mkdir();
pluginManager.loadPlugins(plugins);
pluginManager.enablePlugins();
for (ListenerInfo info : config.getListeners())
{