onClose

fun Inventory.onClose(callback: InventoryCloseEvent.() -> Unit)

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

See also