toggle_flight — Events

on toggle_flightorg.bukkit.event.player.PlayerToggleFlightEvent
Player1.0.0

Description

Fires when a player toggles flight mode.

Variables

player
Player
org.bukkit.entity.Player
NullableNo

The player who toggled flight

flying
boolean
boolean
NullableNo

Whether the player is now flying

Examples

on toggle_flight:

Related (Player)