Buggy code:
public class MTMainCommand implements CommandExecutor { private final MagicTorches pl ; public MTMainCommand ( MagicTorches mt ) { } public boolean onCommand ( CommandSender sender , Command command , String label , String [ ] args ) { } public boolean create ( CommandSender sender , String [ ] args ) { if ( ! ( sender instanceof Player ) ) { sender . sendMessage ( ( ( pl . r ) + "You<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>a<seq2seq4repair_space>player<seq2seq4repair_space>to<seq2seq4repair_space>use<seq2seq4repair_space>this<seq2seq4repair_space>command." ) ) ; return true ; } Player player = ( ( Player ) ( sender ) ) ; <START_BUG> if ( ! ( pl . canCreate ( player ) ) ) { <END_BUG> sender . sendMessage ( ( ( pl . r ) + "Insufficient<seq2seq4repair_space>permissions.<seq2seq4repair_space>Say<seq2seq4repair_space>that<seq2seq4repair_space>three<seq2seq4repair_space>times<seq2seq4repair_space>fast." ) ) ; return true ; } if ( ( args . length ) == 0 ) { pl . mt . setEditMode ( player , false ) ; pl . mt . setEditMode ( player ) ; sender . sendMessage ( ( ( ( ( pl . g ) + "Creating<seq2seq4repair_space>a<seq2seq4repair_space>MagicTorch<seq2seq4repair_space>array.<seq2seq4repair_space>" ) + ( pl . w ) ) + "Left<seq2seq4repair_space>click<seq2seq4repair_space>on<seq2seq4repair_space>a<seq2seq4repair_space>torch<seq2seq4repair_space>to<seq2seq4repair_space>set<seq2seq4repair_space>it<seq2seq4repair_space>as" ) ) ; sender . sendMessage ( "a<seq2seq4repair_space>transmitter.<seq2seq4repair_space>Right<seq2seq4repair_space>click<seq2seq4repair_space>on<seq2seq4repair_space>torches<seq2seq4repair_space>to<seq2seq4repair_space>add//remove<seq2seq4repair_space>them<seq2seq4repair_space>from" ) ; sender . sendMessage ( "the<seq2seq4repair_space>receiver<seq2seq4repair_space>array." ) ; return true ; } else if ( ( args . length ) == 1 ) { if ( args [ 0 ] . equalsIgnoreCase ( "direct" ) ) { pl . mt . setEditMode ( player , false ) ; pl . mt . setEditMode ( player , DIRECT ) ; } else if ( args [ 0 ] . equalsIgnoreCase ( "inverse" ) ) { pl . mt . setEditMode ( player , false ) ; pl . mt . setEditMode ( player , INVERSE ) ; } else if ( args [ 0 ] . equalsIgnoreCase ( "delay" ) ) { pl . mt . setEditMode ( player , false ) ; pl . mt . setEditMode ( player , DELAY ) ; } else { return false ; } sender . sendMessage ( ( ( ( ( pl . g ) + "Creating<seq2seq4repair_space>a<seq2seq4repair_space>MagicTorch<seq2seq4repair_space>array.<seq2seq4repair_space>" ) + ( pl . w ) ) + "Left<seq2seq4repair_space>click<seq2seq4repair_space>on<seq2seq4repair_space>a<seq2seq4repair_space>torch<seq2seq4repair_space>to<seq2seq4repair_space>set<seq2seq4repair_space>it<seq2seq4repair_space>as" ) ) ; sender . sendMessage ( "a<seq2seq4repair_space>transmitter.<seq2seq4repair_space>Right<seq2seq4repair_space>click<seq2seq4repair_space>on<seq2seq4repair_space>torches<seq2seq4repair_space>to<seq2seq4repair_space>add//remove<seq2seq4repair_space>them<seq2seq4repair_space>from" ) ; sender . sendMessage ( "the<seq2seq4repair_space>receiver<seq2seq4repair_space>array." ) ; return true ; } else { return false ; } } public boolean finish ( CommandSender sender , String [ ] args ) { } }

Fix:
if ( ! ( MagicTorches . canCreate ( sender ) ) ) {