From 1dca12cffb2cf3a272506fc4c82ea4f6303bfbd9 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 15 Sep 2013 06:48:06 +1000 Subject: [PATCH] Use boolean not binary and --- proxy/src/main/java/net/md_5/bungee/UserConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index 16569dba..172f435b 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -209,7 +209,7 @@ public final class UserConnection implements ProxiedPlayer pendingConnects.remove( target ); ServerInfo def = ProxyServer.getInstance().getServers().get( getPendingConnection().getListener().getFallbackServer() ); - if ( retry & target != def && ( getServer() == null || def != getServer().getInfo() ) ) + if ( retry && target != def && ( getServer() == null || def != getServer().getInfo() ) ) { sendMessage( bungee.getTranslation( "fallback_lobby" ) ); connect( def, false );