Quick hotfix for when server is down

This commit is contained in:
md_5 2013-01-13 09:21:29 +11:00
parent 3d45f52518
commit 68c8915a04

View File

@ -94,7 +94,7 @@ public class ServerConnection extends GenericConnection
InetSocketAddress def = BungeeCord.instance.config.getServer(null);
if (retry && !address.equals(def))
{
return connect(user, name, def, handshake, false);
return connect(user, BungeeCord.instance.config.defaultServerName, def, handshake, false);
} else
{
throw new RuntimeException("Could not connect to target server " + Util.exception(ex));