Examples of WarPlayerThiefEvent


Examples of com.tommytony.war.event.WarPlayerThiefEvent

  }

  // Flags
  public void addFlagThief(Team lostFlagTeam, String flagThief) {
    this.flagThieves.put(flagThief, lostFlagTeam);
    WarPlayerThiefEvent event1 = new WarPlayerThiefEvent(Bukkit.getPlayerExact(flagThief), WarPlayerThiefEvent.StolenObject.FLAG);
    War.war.getServer().getPluginManager().callEvent(event1);
  }
View Full Code Here

Examples of com.tommytony.war.event.WarPlayerThiefEvent

  }

  // Bomb
  public void addBombThief(Bomb bomb, String bombThief) {
    this.bombThieves.put(bombThief, bomb);
    WarPlayerThiefEvent event1 = new WarPlayerThiefEvent(Bukkit.getPlayerExact(bombThief), WarPlayerThiefEvent.StolenObject.BOMB);
    War.war.getServer().getPluginManager().callEvent(event1);
  }
View Full Code Here

Examples of com.tommytony.war.event.WarPlayerThiefEvent

 
  // Cake
 
  public void addCakeThief(Cake cake, String cakeThief) {
    this.cakeThieves.put(cakeThief, cake);
    WarPlayerThiefEvent event1 = new WarPlayerThiefEvent(Bukkit.getPlayerExact(cakeThief), WarPlayerThiefEvent.StolenObject.CAKE);
    War.war.getServer().getPluginManager().callEvent(event1);
  }
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.