toggle Flight
open fun toggleFlight( player: Player, silent: Boolean, executor: CommandSender? = null, sendMessage: Boolean = true)
Content copied to clipboard
Toggle flight for a player.
See also
Parameters
player
the player whose flight to change
silent
if a target player exists, they will recieve a message if this is true
executor
the person who ran the command or null if the player changed their own flight
send Message
true if message should be sent, false if otherwise.