mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
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 );
|
||||
|
||||
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 );
|
||||
|
Loading…
Reference in New Issue
Block a user