Close #396 - broken API spec for "ALL" server

This commit is contained in:
md_5 2013-05-29 12:03:41 +10:00
parent 0d666168f0
commit 0cd4c9030c

View File

@ -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
{