this.isEndOfGame = true;
List<Team> winningTeams = new ArrayList<Team>(teams.size());
for (String team : winnersStr.split(" ")) {
winningTeams.add(this.getTeamByKind(TeamKind.getTeam(team)));
}
WarScoreCapEvent event1 = new WarScoreCapEvent(winningTeams);
War.war.getServer().getPluginManager().callEvent(event1);
for (Team t : this.getTeams()) {
if (War.war.isSpoutServer()) {
for (Player p : t.getPlayers()) {