Examples of placeCorner1()


Examples of com.tommytony.war.command.ZoneSetter.placeCorner1()

        String zoneName = War.war.getWandBearerZone(player);
        ZoneSetter setter = new ZoneSetter(player, zoneName);
        if (event.getAction() == Action.LEFT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_AIR) {
          War.war.badMsg(player, "wand.toofar");
        } else if (event.getAction() == Action.LEFT_CLICK_BLOCK) {
          setter.placeCorner1(event.getClickedBlock());
          event.setUseItemInHand(Result.ALLOW);
        } else if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
          setter.placeCorner2(event.getClickedBlock());
          event.setUseItemInHand(Result.ALLOW);
        }
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.