From 78e67283ccc95a4161fd3702ed18d694058be7cb Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 11 Jun 2013 20:23:48 +1000 Subject: [PATCH] Roblabla feels listeners should be at the top --- proxy/src/main/java/net/md_5/bungee/config/Configuration.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/config/Configuration.java b/proxy/src/main/java/net/md_5/bungee/config/Configuration.java index fff03e34..428f8de9 100644 --- a/proxy/src/main/java/net/md_5/bungee/config/Configuration.java +++ b/proxy/src/main/java/net/md_5/bungee/config/Configuration.java @@ -22,7 +22,6 @@ import net.md_5.bungee.util.CaseInsensitiveMap; public class Configuration { - /** * Time before users are disconnected due to no network activity. */ @@ -50,12 +49,12 @@ public class Configuration ConfigurationAdapter adapter = ProxyServer.getInstance().getConfigurationAdapter(); adapter.load(); + listeners = adapter.getListeners(); timeout = adapter.getInt( "timeout", timeout ); uuid = adapter.getString( "stats", uuid ); onlineMode = adapter.getBoolean( "online_mode", onlineMode ); playerLimit = adapter.getInt( "player_limit", playerLimit ); - listeners = adapter.getListeners(); Preconditions.checkArgument( listeners != null && !listeners.isEmpty(), "No listeners defined." ); Map newServers = adapter.getServers();