push
This commit is contained in:
@ -103,6 +103,10 @@ public class Game {
|
||||
}));
|
||||
}
|
||||
|
||||
public void broadcastToOneTeam(String message, GameTeam gameTeam) {
|
||||
this.teams.stream().filter(team -> team == gameTeam).forEach(team -> team.playingPlayers().forEach(player -> player.sendMessage(CC.translate(message))));
|
||||
}
|
||||
|
||||
public int decrementCountdown() {
|
||||
return --this.countdown;
|
||||
}
|
||||
|
Reference in New Issue
Block a user