Examples of VehicleMoveEvent


Examples of org.bukkit.event.vehicle.VehicleMoveEvent

    Location to = entity.getLocation();
    Vehicle vehicle = entity.getEntity();
    CommonUtil.callEvent(new VehicleUpdateEvent(vehicle));
    if (!from.equals(to)) {
      // Execute move events
      CommonUtil.callEvent(new VehicleMoveEvent(vehicle, from, to));
      for (org.bukkit.block.Block sign : this.getBlockTracker().getActiveSigns()) {
        SignAction.executeAll(new SignActionEvent(sign, this), SignActionType.MEMBER_MOVE);
      }
    }
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.