onClose

fun onClose(block: (PaginatedGUI, InventoryCloseEvent.Reason) -> Unit): PaginatedGUI