emerald-extension / cn.berberman.emerald.dsl.command / DSLCommandBuilder / TargetAndSenderBlocksData / otherwise

otherwise

infix fun otherwise(block: CommandSender.() -> Boolean): Boolean

Set otherwise action and return final result.

Parameters

block - the action that if sender ins’t target object