Fix config, up next, reconnect handler.

This commit is contained in:
md_5
2013-01-19 14:05:33 +11:00
parent bf1e7f09a9
commit 355afba6da
3 changed files with 46 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ public abstract class ProxyServer
public static void setInstance(ProxyServer instance)
{
Preconditions.checkNotNull(instance, "instance");
Preconditions.checkArgument(instance == null, "Instance already set");
Preconditions.checkArgument(ProxyServer.instance == null, "Instance already set");
ProxyServer.instance = instance;
}

View File

@@ -25,10 +25,6 @@ public class ServerInfo
* Connectable address of this server.
*/
private final InetSocketAddress address;
/**
* Permission node required to access this server.
*/
private String permission;
/**
* Players connected to a server defined by these properties.
*/