setState

abstract fun setState(@NotNull player: @NotNull Player, state: Boolean): Boolean

Sets the on/off state of WAILA for the specified player.

Return

The previous state (if WAILA was enabled previously).

Parameters

player

The player to set the state for.

state

The new state.