scheduleIf

fun Command.scheduleIf(condition: Boolean)

Schedule this command when the provided condition is true.

Parameters

condition

If true, the command will be scheduled using the global CommandScheduler.