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, hasPlayer
public Inventory getInventory()
public boolean isCancelled()
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancel)
setCancelled
in interface CancellableEvent