#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" ) )
|
if ( subChannel.equals( "ServerIP" ) )
|
||||||
{
|
{
|
||||||
ServerInfo info = bungee.getServerInfo( in.readUTF() );
|
ServerInfo info = bungee.getServerInfo( in.readUTF() );
|
||||||
if ( info != null )
|
if ( info != null && !info.getAddress().isUnresolved() )
|
||||||
{
|
{
|
||||||
out.writeUTF( "ServerIP" );
|
out.writeUTF( "ServerIP" );
|
||||||
out.writeUTF( info.getName() );
|
out.writeUTF( info.getName() );
|
||||||
|
Loading…
Reference in New Issue
Block a user