public class InventoryCloseEvent extends PlayerEvent implements CancellableEvent
| Constructor and Description |
|---|
InventoryCloseEvent(Player p,
Inventory inv) |
| Modifier and Type | Method and Description |
|---|---|
Inventory |
getInventory() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getPlayer, hasPlayerpublic Inventory getInventory()
public boolean isCancelled()
isCancelled in interface CancellableEventpublic void setCancelled(boolean cancel)
setCancelled in interface CancellableEvent