mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-26 02:27:56 +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.setSuffix( team.suffix );
|
||||||
t.setFriendlyMode( team.friendlyFire );
|
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 );
|
if ( team.mode == 0 || team.mode == 3 )
|
||||||
} else
|
{
|
||||||
{
|
t.addPlayer( s );
|
||||||
t.removePlayer( s );
|
} else
|
||||||
|
{
|
||||||
|
t.removePlayer( s );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user