croxis/Lift — pull request #55 by Morthis (2012-08-22 22:53:14+00:00)
Title: Fix for issue with flight staying on under certain conditions

Lift currently works under the assumption that if a player uses an elevator with flight enabled, that player will always have flight enabled (since the player is added to the fly list but never removed). This is an issue on servers where flight is conditional (as it is on ours, where flight is based on having a specific item equipped). If a player uses Lift once while they have flight enabled, they will always retain flight after using an elevator from that point forward until a server reset. This fix simply removes players from the fly list again if they use the elevator without flight enabled. I've tested it, this does not impact creative mode or always-on flight.