Examples of incrementShotsFired()


Examples of org.mctourney.autoreferee.AutoRefPlayer.incrementShotsFired()

    Player player = (Player) event.getEntity();
    AutoRefMatch match = plugin.getMatch(player.getWorld());
    if (match == null || !match.getCurrentState().inProgress()) return;

    AutoRefPlayer apl = match.getPlayer(player);
    if (apl != null) apl.incrementShotsFired();

    shotArrows.put((Projectile) event.getProjectile(),
      event.getEntity().getLocation().clone());
  }
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.