public class WhitelistToggleEvent extends Event
Event.Result
Constructor | Description |
---|---|
WhitelistToggleEvent(boolean enabled) |
Modifier and Type | Method | Description |
---|---|---|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
|
boolean |
isEnabled() |
Gets whether whitelist is going to be enabled or not
|
callEvent, getEventName, isAsynchronous
public boolean isEnabled()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.