addAction

fun addAction(sender: CommandSender, action: ConfirmAction)(source)

Adds an action to the map.

Parameters

sender

CommandSender that performs the action.

action

ConfirmAction to be performed.