Buggy code:
public class CommandFly implements CommandExecutor { public boolean onCommand ( CommandSender sender , Command cmd , String commandLabel , String [ ] args ) { if ( ( ! ( sender instanceof Player ) ) && ( cmd . getName ( ) . equalsIgnoreCase ( "fly" ) ) ) { if ( ( args . length ) == 0 ) { sender . sendMessage ( ( ( ChatColor . RED ) + "To<seq2seq4repair_space>many<seq2seq4repair_space>arguments!" ) ) ; sender . sendMessage ( ( ( ChatColor . RED ) + "Usage:<seq2seq4repair_space>//fly<seq2seq4repair_space><player>" ) ) ; } else if ( ( args . length ) == 1 ) { Player targetPlayer = sender . getServer ( ) . getPlayer ( args [ 0 ] ) ; if ( targetPlayer == null ) { sender . sendMessage ( ( ( ( ( ( ( ( ( ChatColor . GOLD ) + "Player<seq2seq4repair_space>" ) + ( ChatColor . RED ) ) + "'" ) + ( args [ 0 ] ) ) + "'" ) + ( ChatColor . GOLD ) ) + "<seq2seq4repair_space>wasn't<seq2seq4repair_space>found." ) ) ; } else if ( targetPlayer . getAllowFlight ( ) ) { targetPlayer . setAllowFlight ( false ) ; targetPlayer . sendMessage ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>was<seq2seq4repair_space>disabled!" ) ) ; sender . sendMessage ( ( ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>was<seq2seq4repair_space>disabled<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ChatColor . RED ) ) + ( targetPlayer . getName ( ) ) ) ) ; } else { targetPlayer . setAllowFlight ( true ) ; targetPlayer . sendMessage ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>was<seq2seq4repair_space>enabled!" ) ) ; sender . sendMessage ( ( ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>was<seq2seq4repair_space>enabled<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ChatColor . RED ) ) + ( targetPlayer . getName ( ) ) ) ) ; } } else if ( ( args . length ) >= 2 ) { sender . sendMessage ( ( ( ChatColor . RED ) + "To<seq2seq4repair_space>many<seq2seq4repair_space>arguments!" ) ) ; sender . sendMessage ( ( ( ChatColor . RED ) + "Usage:<seq2seq4repair_space>//fly<seq2seq4repair_space><player>" ) ) ; } } if ( sender instanceof Player ) { Player player = ( ( Player ) ( sender ) ) ; if ( cmd . getName ( ) . equalsIgnoreCase ( "fly" ) ) { if ( player . hasPermission ( "adminessentials.fly" ) ) { if ( ( args . length ) == 0 ) if ( player . getAllowFlight ( ) ) { player . setAllowFlight ( false ) ; player . sendMessage ( ( ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>disabled<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ChatColor . RED ) ) + ( player . getName ( ) ) ) ) ; } else { player . setAllowFlight ( true ) ; player . sendMessage ( ( ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>enabled<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ChatColor . RED ) ) + ( player . getName ( ) ) ) ) ; } } else { player . sendMessage ( ( ( ChatColor . DARK_RED ) + "You<seq2seq4repair_space>don't<seq2seq4repair_space>have<seq2seq4repair_space>access<seq2seq4repair_space>to<seq2seq4repair_space>that<seq2seq4repair_space>command!" ) ) ; } if ( player . hasPermission ( "adminessentials.fly.others" ) ) { if ( ( args . length ) == 1 ) { Player targetPlayer = player . getServer ( ) . getPlayer ( args [ 0 ] ) ; if ( targetPlayer == null ) { player . sendMessage ( ( ( ( ( ( ( ( ( ChatColor . GOLD ) + "Player<seq2seq4repair_space>" ) + ( ChatColor . RED ) ) + "'" ) + ( args [ 0 ] ) ) + "'" ) + ( ChatColor . GOLD ) ) + "<seq2seq4repair_space>wasn't<seq2seq4repair_space>found." ) ) ; } else <START_BUG> if ( player . getAllowFlight ( ) ) { <END_BUG> targetPlayer . setAllowFlight ( false ) ; targetPlayer . sendMessage ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>was<seq2seq4repair_space>disabled!" ) ) ; player . sendMessage ( ( ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>was<seq2seq4repair_space>disabled<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ChatColor . RED ) ) + ( targetPlayer . getName ( ) ) ) ) ; } else { targetPlayer . setAllowFlight ( true ) ; targetPlayer . sendMessage ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>was<seq2seq4repair_space>enabled!" ) ) ; player . sendMessage ( ( ( ( ( ChatColor . GOLD ) + "Fly<seq2seq4repair_space>mode<seq2seq4repair_space>was<seq2seq4repair_space>enabled<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ChatColor . RED ) ) + ( targetPlayer . getName ( ) ) ) ) ; } } else if ( ( args . length ) >= 2 ) { player . sendMessage ( ( ( ChatColor . RED ) + "To<seq2seq4repair_space>many<seq2seq4repair_space>arguments!" ) ) ; player . sendMessage ( ( ( ChatColor . RED ) + "Usage:<seq2seq4repair_space>//fly<seq2seq4repair_space><player>" ) ) ; } } else if ( ( args . length ) >= 1 ) { player . sendMessage ( ( ( ChatColor . DARK_RED ) + "You<seq2seq4repair_space>don't<seq2seq4repair_space>have<seq2seq4repair_space>access<seq2seq4repair_space>to<seq2seq4repair_space>this<seq2seq4repair_space>command!" ) ) ; } } } return false ; } No newline ; at end ; of file ; }

Fix:
if ( targetPlayer . getAllowFlight ( ) ) {