game will not announce winner multiple times
This commit is contained in:
parent
adf8821a26
commit
a150249f4f
@ -887,6 +887,9 @@ public abstract class Game implements Listener
|
||||
|
||||
public void AnnounceEnd(GameTeam team)
|
||||
{
|
||||
if (!IsLive())
|
||||
return;
|
||||
|
||||
for (Player player : UtilServer.getPlayers())
|
||||
{
|
||||
player.playSound(player.getLocation(), Sound.LEVEL_UP, 2f, 1f);
|
||||
|
Loading…
Reference in New Issue
Block a user