onInventoryClose

fun Player.onInventoryClose(callback: InventoryCloseEvent.() -> Unit)

Custom Interaction Method for the InventoryCloseEvent. Register SmartEvents and use the Event Manager.

See also