Package dev.unnm3d.redischat.api.events
Class MailSendEvent
java.lang.Object
org.bukkit.event.Event
dev.unnm3d.redischat.api.events.MailEvent
dev.unnm3d.redischat.api.events.MailSendEvent
- 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
Constructors -
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
-
MailSendEvent
Event that is called when a mail is sent- Parameters:
mail
- The mail that is being sent
-
-
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
-