mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
Fix issue #262 and put all scoreboard bugs to bed
This commit is contained in:
parent
a9ad4889f7
commit
5620c4679d
@ -170,14 +170,17 @@ public class DownstreamBridge extends PacketHandler
|
||||
t.setSuffix( team.suffix );
|
||||
t.setFriendlyMode( team.friendlyFire );
|
||||
}
|
||||
for ( String s : team.players )
|
||||
if ( team.players != null )
|
||||
{
|
||||
if ( team.mode == 0 || team.mode == 3 )
|
||||
for ( String s : team.players )
|
||||
{
|
||||
t.addPlayer( s );
|
||||
} else
|
||||
{
|
||||
t.removePlayer( s );
|
||||
if ( team.mode == 0 || team.mode == 3 )
|
||||
{
|
||||
t.addPlayer( s );
|
||||
} else
|
||||
{
|
||||
t.removePlayer( s );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user