mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 20:59:12 +01:00
Rejig forced hosts some more - closes #927
This commit is contained in:
parent
227301ec73
commit
72cadac76e
@ -15,7 +15,7 @@ public abstract class AbstractReconnectHandler implements ReconnectHandler
|
||||
if ( server == null )
|
||||
{
|
||||
server = getStoredServer( player );
|
||||
if ( server == null )
|
||||
if ( server == null || player.getPendingConnection().getListener().isForceDefault() )
|
||||
{
|
||||
server = ProxyServer.getInstance().getServerInfo( player.getPendingConnection().getListener().getDefaultServer() );
|
||||
}
|
||||
@ -35,7 +35,7 @@ public abstract class AbstractReconnectHandler implements ReconnectHandler
|
||||
|
||||
String forced = con.getListener().getForcedHosts().get( con.getVirtualHost().getHostString() );
|
||||
|
||||
if ( forced == null || con.getListener().isForceDefault() )
|
||||
if ( forced == null )
|
||||
{
|
||||
forced = con.getListener().getDefaultServer();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user