Fix client disconnects when a server goes down - #886

This commit is contained in:
Jonas Konrad 2014-02-18 17:08:04 +01:00 committed by md_5
parent e609145a0d
commit 52fbceec54

View File

@ -43,6 +43,12 @@ public class DownstreamBridge extends PacketHandler
@Override
public void exception(Throwable t) throws Exception
{
if ( server.isObsolete() )
{
// do not perform any actions if the user has already moved
return;
}
ServerInfo def = bungee.getServerInfo( con.getPendingConnection().getListener().getFallbackServer() );
if ( server.getInfo() != def )
{