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