mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-02 23:23:49 +01:00
Merge branch 'vemacs-master'
This commit is contained in:
commit
33a098f4ba
@ -342,6 +342,16 @@ public class DownstreamBridge extends PacketHandler
|
|||||||
out.writeUTF( player.getUUID() );
|
out.writeUTF( player.getUUID() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( subChannel.equals( "ServerIP" ) )
|
||||||
|
{
|
||||||
|
ServerInfo info = bungee.getServerInfo( in.readUTF() );
|
||||||
|
if ( info != null )
|
||||||
|
{
|
||||||
|
out.writeUTF( "ServerIP" );
|
||||||
|
out.writeUTF( info.getAddress().getAddress().getHostAddress() );
|
||||||
|
out.writeShort( info.getAddress().getPort() );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Check we haven't set out to null, and we have written data, if so reply back back along the BungeeCord channel
|
// Check we haven't set out to null, and we have written data, if so reply back back along the BungeeCord channel
|
||||||
if ( out != null )
|
if ( out != null )
|
||||||
|
Loading…
Reference in New Issue
Block a user