Add setAllowFlight for player (API)
bugfix