Bukkit/CraftBukkit — pull request #736 by Acrobot (2012-03-23 15:31:48+00:00)
Title: Updated NSH for the new get/setAllowFlight system.

I didn't test it, but it should work fine.