mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-08 19:50:27 +01:00
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
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* 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();
|
||||
|
Loading…
Reference in New Issue
Block a user