From 31bd8362032371e5fbd4f200b4d3b31b75c53f85 Mon Sep 17 00:00:00 2001 From: vemacs Date: Sat, 3 May 2014 13:15:50 -0600 Subject: [PATCH] Write server name in ServerIP subchannel response. Behaves similarly to the UUIDOther implementation. --- .../main/java/net/md_5/bungee/connection/DownstreamBridge.java | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java index 6c76a23b..b78eae73 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java @@ -357,6 +357,7 @@ public class DownstreamBridge extends PacketHandler if ( info != null ) { out.writeUTF( "ServerIP" ); + out.writeUTF( info.getName() ); out.writeUTF( info.getAddress().getAddress().getHostAddress() ); out.writeShort( info.getAddress().getPort() ); }