Class DomainBypassChangeEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- work.torp.domain.api.events.domain.DomainBypassChangeEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public final class DomainBypassChangeEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
-
-
Constructor Summary
Constructors Constructor Description DomainBypassChangeEvent(org.bukkit.entity.Player player)
DomainBypassChangeEvent(Player) This event is called when a player enters or leaves Domain Bypass mode
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCancelReason()
static org.bukkit.event.HandlerList
getHandlerList()
org.bukkit.event.HandlerList
getHandlers()
boolean
isCancelled()
void
setCancelled(boolean cancel)
-
-
-
Method Detail
-
getCancelReason
public java.lang.String getCancelReason()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancel)
- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
-