public class PacketReceiveEvent extends PacketEvent implements CancellableEvent
Constructor and Description |
---|
PacketReceiveEvent(NPacket packet,
Player p) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getPacket
getPlayer, hasPlayer
public boolean isCancelled()
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancel)
setCancelled
in interface CancellableEvent