Use boolean not binary and
This commit is contained in:
parent
29c897c9cf
commit
1dca12cffb
@ -209,7 +209,7 @@ public final class UserConnection implements ProxiedPlayer
|
|||||||
pendingConnects.remove( target );
|
pendingConnects.remove( target );
|
||||||
|
|
||||||
ServerInfo def = ProxyServer.getInstance().getServers().get( getPendingConnection().getListener().getFallbackServer() );
|
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" ) );
|
sendMessage( bungee.getTranslation( "fallback_lobby" ) );
|
||||||
connect( def, false );
|
connect( def, false );
|
||||||
|
Loading…
Reference in New Issue
Block a user