Package com.tommytony.war

Examples of com.tommytony.war.Warzone.dropAllStolenObjects()


        if (!playerWarzone.getVolume().contains(event.getTo())) {
          // Prevent teleporting out of the warzone
          if (!playerWarzone.getWarzoneConfig().getBoolean(WarzoneConfig.REALDEATHS)) {
            War.war.badMsg(event.getPlayer(), "Use /leave (or /war leave) to exit the zone.");
          }
          playerWarzone.dropAllStolenObjects(event.getPlayer(), false);
          playerWarzone.respawnPlayer(event, playerTeam, event.getPlayer());
        }
      }
    }
  }
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.