Package dev.unnm3d.redischat.api.events
Class MailDeleteEvent
java.lang.Object
org.bukkit.event.Event
dev.unnm3d.redischat.api.events.MailEvent
dev.unnm3d.redischat.api.events.MailDeleteEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorsConstructorDescriptionMailDeleteEvent
(Mail mail, org.bukkit.entity.Player deleter) Event that is called when a mail is deleted -
Method Summary
Methods inherited from class dev.unnm3d.redischat.api.events.MailEvent
getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
MailDeleteEvent
Event that is called when a mail is deleted- Parameters:
mail
- The mail that is being deleteddeleter
- The player that is deleting the mail
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-