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 f62515c1..3ab31530 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 @@ -321,6 +321,21 @@ public class DownstreamBridge extends PacketHandler out.writeUTF( "GetServer" ); out.writeUTF( server.getInfo().getName() ); } + if ( subChannel.equals( "UUID" ) ) + { + out.writeUTF( "UUID" ); + out.writeUTF( con.getUUID() ); + } + if ( subChannel.equals("UUIDOther") ) + { + ProxiedPlayer player = bungee.getPlayer( in.readUTF() ); + if ( player != null ) + { + out.writeUTF( "UUIDOther" ); + out.writeUTF( player.getName() ); + out.writeUTF( player.getUUID() ); + } + } // 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 )