Roblabla feels listeners should be at the top
This commit is contained in:
parent
f0f1e71c93
commit
78e67283cc
@ -22,7 +22,6 @@ import net.md_5.bungee.util.CaseInsensitiveMap;
|
|||||||
public class Configuration
|
public class Configuration
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Time before users are disconnected due to no network activity.
|
* Time before users are disconnected due to no network activity.
|
||||||
*/
|
*/
|
||||||
@ -50,12 +49,12 @@ public class Configuration
|
|||||||
ConfigurationAdapter adapter = ProxyServer.getInstance().getConfigurationAdapter();
|
ConfigurationAdapter adapter = ProxyServer.getInstance().getConfigurationAdapter();
|
||||||
adapter.load();
|
adapter.load();
|
||||||
|
|
||||||
|
listeners = adapter.getListeners();
|
||||||
timeout = adapter.getInt( "timeout", timeout );
|
timeout = adapter.getInt( "timeout", timeout );
|
||||||
uuid = adapter.getString( "stats", uuid );
|
uuid = adapter.getString( "stats", uuid );
|
||||||
onlineMode = adapter.getBoolean( "online_mode", onlineMode );
|
onlineMode = adapter.getBoolean( "online_mode", onlineMode );
|
||||||
playerLimit = adapter.getInt( "player_limit", playerLimit );
|
playerLimit = adapter.getInt( "player_limit", playerLimit );
|
||||||
|
|
||||||
listeners = adapter.getListeners();
|
|
||||||
Preconditions.checkArgument( listeners != null && !listeners.isEmpty(), "No listeners defined." );
|
Preconditions.checkArgument( listeners != null && !listeners.isEmpty(), "No listeners defined." );
|
||||||
|
|
||||||
Map<String, ServerInfo> newServers = adapter.getServers();
|
Map<String, ServerInfo> newServers = adapter.getServers();
|
||||||
|
Loading…
Reference in New Issue
Block a user