handleToggle

open fun handleToggle(player: Player, chatType: ChatListener.ChatType)(source)

Handle toggling the chat type for a player.

Parameters

player

The player to toggle the chat type for.

chatType

The chat type to toggle.