mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
Close #396 - broken API spec for "ALL" server
This commit is contained in:
parent
0d666168f0
commit
0cd4c9030c
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user