public class UndisguiseEvent
extends org.bukkit.event.player.PlayerEvent
Constructor and Description |
---|
UndisguiseEvent(org.bukkit.entity.Player player,
Disguise disguise,
boolean undisguiseAll) |
Modifier and Type | Method and Description |
---|---|
Disguise |
getDisguise()
Returns the disguise.
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
boolean |
isCancelled()
Checks whether this event is cancelled.
|
void |
setCancelled(boolean cancel)
Sets whether this event is cancelled.
|
boolean |
undisguiseAll()
Indicates whether this event is part of a '/undisguise *' command.
|
public UndisguiseEvent(org.bukkit.entity.Player player, Disguise disguise, boolean undisguiseAll)
public final Disguise getDisguise()
public final boolean undisguiseAll()
true
, if and only if this event is part of a '/undisguise *' commandpublic boolean isCancelled()
true
, if and only if this event is cancelledpublic void setCancelled(boolean cancel)
cancel
- true
if this event shall be cancelledpublic org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()