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() |
playerpublic PlayerDropItemEvent(Player player, Item item)
public boolean isIgnored()
isIgnored in interface Cancellablepublic void cancel(boolean cancelled)
cancel in interface Cancellablecancelled - set the cancellation state of the eventCopyright © 2016. All rights reserved.