getObjective

fun CommandContext<CommandSourceStack>.getObjective(name: String): Objective?

Retrieves an Objective from the command context.