Package net.citizensnpcs.api.event
Class NPCCommandDispatchEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.CitizensEvent
net.citizensnpcs.api.event.NPCEvent
net.citizensnpcs.api.event.NPCCommandDispatchEvent
- All Implemented Interfaces:
Cancellable
Called just before a command list is dispatched.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
NPCCommandDispatchEvent
-
-
Method Details
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getPlayer
- Returns:
- the Player who will be dispatched on
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlerList
-