onInventoryClick

fun Player.onInventoryClick(callback: InventoryClickEvent.() -> Unit)

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

See also