Bukkit/CraftBukkit — pull request #582 by Qala (2011-12-09 22:01:12+00:00)
Title: Implemented CraftPlayer.getAllowFlight and .setAllowFlight

I plan on using these methods in a plugin i am developing.

I already have a modded client prototype in which the player can natively fly in survival mode. It needs some reworking, but once done, this could be useful for numerous role-playing scenarios.

This goes together with PR 444 against Bukkit: https://github.com/Bukkit/Bukkit/pull/444