mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 20:59:12 +01:00
#2559: Unresolved ServerIP causes disconnect
This commit is contained in:
parent
378aaadb68
commit
afef0ec1fe
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user