public class PlayerCloseWindowEvent extends Event implements Cancellable
Constructor and Description |
---|
PlayerCloseWindowEvent(Inventory window) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(boolean cancelled) |
boolean |
isIgnored() |
Inventory |
window() |
public PlayerCloseWindowEvent(Inventory window)
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.