Some more backwards incompatible changes (minor though), also a ton of small cleanup.
onPluginEnable(PluginEvent event) -> onPluginEnable(PluginEnableEvent event) onPluginDisable(PluginEvent event) -> onPluginDisable(PluginDisableEvent event) onVehicleUpdate(VehicleEvent event) -> onVehicleUpdate(VehicleUpdateEvent event) onWorldSave(WorldEvent event) -> onWorldSave(WorldSaveEvent event) onWorldLoad(WorldEvent event) -> onWorldLoad(WorldLoadEvent event)
This commit is contained in:
@@ -11,11 +11,10 @@ import org.bukkit.entity.Vehicle;
|
||||
public class VehicleMoveEvent extends VehicleEvent {
|
||||
private Location from;
|
||||
private Location to;
|
||||
|
||||
public VehicleMoveEvent(Type type, Vehicle vehicle,
|
||||
Location from, Location to) {
|
||||
super(type, vehicle);
|
||||
|
||||
|
||||
public VehicleMoveEvent(Vehicle vehicle, Location from, Location to) {
|
||||
super(Type.VEHICLE_MOVE, vehicle);
|
||||
|
||||
this.from = from;
|
||||
this.to = to;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user