Fix config, up next, reconnect handler.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user