mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
Write server name in ServerIP subchannel response.
Behaves similarly to the UUIDOther implementation.
This commit is contained in:
parent
4dce37cd13
commit
31bd836203
@ -357,6 +357,7 @@ public class DownstreamBridge extends PacketHandler
|
|||||||
if ( info != null )
|
if ( info != null )
|
||||||
{
|
{
|
||||||
out.writeUTF( "ServerIP" );
|
out.writeUTF( "ServerIP" );
|
||||||
|
out.writeUTF( info.getName() );
|
||||||
out.writeUTF( info.getAddress().getAddress().getHostAddress() );
|
out.writeUTF( info.getAddress().getAddress().getHostAddress() );
|
||||||
out.writeShort( info.getAddress().getPort() );
|
out.writeShort( info.getAddress().getPort() );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user