mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-26 18:47:42 +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" );
|
out.writeUTF( "PlayerCount" );
|
||||||
if ( target.equals( "ALL" ) )
|
if ( target.equals( "ALL" ) )
|
||||||
{
|
{
|
||||||
|
out.writeUTF( "ALL" );
|
||||||
out.writeInt( bungee.getOnlineCount() );
|
out.writeInt( bungee.getOnlineCount() );
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
@ -273,6 +274,7 @@ public class DownstreamBridge extends PacketHandler
|
|||||||
out.writeUTF( "PlayerList" );
|
out.writeUTF( "PlayerList" );
|
||||||
if ( target.equals( "ALL" ) )
|
if ( target.equals( "ALL" ) )
|
||||||
{
|
{
|
||||||
|
out.writeUTF( "ALL" );
|
||||||
out.writeUTF( Util.csv( bungee.getPlayers() ) );
|
out.writeUTF( Util.csv( bungee.getPlayers() ) );
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user