Roblabla feels listeners should be at the top

This commit is contained in:
md_5 2013-06-11 20:23:48 +10:00
parent f0f1e71c93
commit 78e67283cc

View File

@ -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<String, ServerInfo> newServers = adapter.getServers();