From 0cd4c9030cfe8bf0236e1e639efec2db190a120c Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 29 May 2013 12:03:41 +1000 Subject: [PATCH] Close #396 - broken API spec for "ALL" server --- .../main/java/net/md_5/bungee/connection/DownstreamBridge.java | 2 ++ 1 file changed, 2 insertions(+) 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 1baf99f9..d02b1a4a 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 @@ -256,6 +256,7 @@ public class DownstreamBridge extends PacketHandler out.writeUTF( "PlayerCount" ); if ( target.equals( "ALL" ) ) { + out.writeUTF( "ALL" ); out.writeInt( bungee.getOnlineCount() ); } else { @@ -273,6 +274,7 @@ public class DownstreamBridge extends PacketHandler out.writeUTF( "PlayerList" ); if ( target.equals( "ALL" ) ) { + out.writeUTF( "ALL" ); out.writeUTF( Util.csv( bungee.getPlayers() ) ); } else {