mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 20:59:12 +01:00
Fix client disconnects when a server goes down - #886
This commit is contained in:
parent
e609145a0d
commit
52fbceec54
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user