public class PlayerDropItemEvent extends PlayerEvent implements Cancellable
Constructor and Description |
---|
PlayerDropItemEvent(Player player,
Item item) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(boolean cancelled) |
boolean |
isIgnored() |
Item |
item() |
player
public PlayerDropItemEvent(Player player, Item item)
public boolean isIgnored()
isIgnored
in interface Cancellable
public void cancel(boolean cancelled)
cancel
in interface Cancellable
cancelled
- set the cancellation state of the eventCopyright © 2016. All rights reserved.