public class PlayerExitVehicleEvent extends PlayerVehicleEvent implements Cancellable
PlayerEnterVehicleEvent
Constructor and Description |
---|
PlayerExitVehicleEvent(Player player) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelled()
Determines if the event is cancelled.
|
void |
setCancelled(boolean cancel)
Cancels this event.
|
getPlayer
public PlayerExitVehicleEvent(Player player)
public boolean isCancelled()
Cancellable
isCancelled
in interface Cancellable
public void setCancelled(boolean cancel)
Cancellable
setCancelled
in interface Cancellable
cancel
- set to true if you want to cancel this event.