#2559: Unresolved ServerIP causes disconnect
This commit is contained in:
@@ -431,7 +431,7 @@ public class DownstreamBridge extends PacketHandler
|
||||
if ( subChannel.equals( "ServerIP" ) )
|
||||
{
|
||||
ServerInfo info = bungee.getServerInfo( in.readUTF() );
|
||||
if ( info != null )
|
||||
if ( info != null && !info.getAddress().isUnresolved() )
|
||||
{
|
||||
out.writeUTF( "ServerIP" );
|
||||
out.writeUTF( info.getName() );
|
||||
|
Reference in New Issue
Block a user