@Deprecated public class IllegalPacketEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description |
|---|
IllegalPacketEvent(@NotNull Player player,
@Nullable String type,
@Nullable String kickMessage,
@NotNull Exception e)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getExceptionMessage()
Deprecated.
|
static @NotNull HandlerList |
getHandlerList()
Deprecated.
|
@NotNull HandlerList |
getHandlers()
Deprecated.
|
@Nullable String |
getKickMessage()
Deprecated.
|
@Nullable String |
getType()
Deprecated.
|
boolean |
isShouldKick()
Deprecated.
|
static void |
process(@NotNull Player player,
@Nullable String type,
@Nullable String kickMessage,
@NotNull Exception exception)
Deprecated.
|
void |
setKickMessage(@Nullable String kickMessage)
Deprecated.
|
void |
setShouldKick(boolean shouldKick)
Deprecated.
|
getPlayercallEvent, getEventName, isAsynchronouspublic boolean isShouldKick()
public void setShouldKick(boolean shouldKick)
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.