execute

open override fun execute(vararg args: String, context: Game?): CommandResult<Game>

Executes the target command.

Return

A CommandResult with the updated game state or an error message.

Parameters

args

Optional argument to enable/disable target mode.

context

The current game context.