onClose

abstract fun onClose(block: (InventoryCloseEvent) -> Unit?)

Change the action on closed.

Since

1.0.0

Parameters

block

Close action