Examples of WarScoreCapEvent


Examples of com.tommytony.war.event.WarScoreCapEvent

    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()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.