From 7e41a6cd706f6563951750718aa637f2d15d947e Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 22 Jan 2013 16:00:13 +1100 Subject: [PATCH] Enable plugins like they were meant to --- proxy/src/main/java/net/md_5/bungee/BungeeCord.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java index bc0f83ec7..fa035ad8d 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java @@ -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()) {