addAction

fun addAction(action: (GuiInventory) -> Unit)

Add an action to the list of actions that should be performed.