public final class PlayerCustomImageDeleteEvent extends PlayerEvent implements Cancellable
Constructor and Description |
---|
PlayerCustomImageDeleteEvent(Player player,
CustomImage image) |
Modifier and Type | Method and Description |
---|---|
CustomImage |
getImage()
Gets the custom image the player wants to delete.
|
boolean |
isCancelled()
Determines if the event is cancelled.
|
void |
setCancelled(boolean cancel)
Cancels this event.
|
getPlayer
public PlayerCustomImageDeleteEvent(Player player, CustomImage image)
public CustomImage getImage()
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.