Buggy code:
public class ListCommands { @ Command ( commands = { "shoplist" , "slist" , "sl" } , aliases = { "list" , "l" , "ls" } , desc = "Lists<seq2seq4repair_space>prices<seq2seq4repair_space>for<seq2seq4repair_space>the<seq2seq4repair_space>shop" , permissions = { "BetterShop.user.list" } ) public static boolean list ( CommandSender player , String [ ] s ) { } @ Command ( commands = { "shoplistitems" , "shopitems" , "sitems" , "slistitems" } , aliases = { "items" , "i" , "li" , "listitems" } , desc = "Lists<seq2seq4repair_space>items<seq2seq4repair_space>registered<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>shop" , permissions = { "BetterShop.user.list" } ) public static boolean listitems ( CommandSender player , String [ ] s ) { } @ Command ( commands = { "shoplistkits" , "shopkits" , "skits" , "slistits" } , aliases = { "kits" , "k" , "listkits" } , desc = "Lists<seq2seq4repair_space>kits<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>shop" , permissions = { "BetterShop.user.list" } ) public static boolean listkits ( CommandSender player , String [ ] s ) { } @ Command ( commands = { "shoplistalias" , "shopalias" , "salias" , "sa" } , aliases = { "alias" , "a" , "listalias" , "aliases" , "listaliases" } , desc = "Show<seq2seq4repair_space>the<seq2seq4repair_space>accepted<seq2seq4repair_space>aliases<seq2seq4repair_space>for<seq2seq4repair_space>an<seq2seq4repair_space>item" , permissions = { "BetterShop.user.help" } ) public static boolean listAlias ( CommandSender player , String [ ] s ) { } <START_BUG> @ Command ( commands = { "shopcheck" , "scheck" , "sc" } , aliases = { "check" , "c" , "price" , "lookup" } , desc = "Check<seq2seq4repair_space>prices<seq2seq4repair_space>for<seq2seq4repair_space>an<seq2seq4repair_space>item" , permissions = { "Bettershop.user.check" } ) <END_BUG> public static boolean check ( CommandSender player , String [ ] s ) { if ( ( ( s == null ) || ( ( s . length ) == 0 ) ) || ( ( s . length ) > 2 ) ) { return false ; } else if ( ( ( ( s . length ) > 1 ) && ( ! ( CheckInput . IsInt ( s [ 1 ] ) ) ) ) && ( ! ( s [ 1 ] . equalsIgnoreCase ( "all" ) ) ) ) { BSutils . sendMessage ( player , "Invalid<seq2seq4repair_space>amount" ) ; return true ; } boolean canBuyIllegal = ( BetterShop . getSettings ( ) . allowbuyillegal ) || ( BSPermissions . hasPermission ( player , ADMIN_ILLEGAL , false ) ) ; Shop shop = BetterShop . getShop ( player ) ; try { if ( s [ 0 ] . equalsIgnoreCase ( "all" ) ) { List < ItemStack > sellable = SellCommands . getCanSell ( ( ( Player ) ( player ) ) , false , null , ( - 1 ) ) ; if ( ! ( sellable . isEmpty ( ) ) ) { PriceListItem price = new PriceListItem ( ) ; price . buy = price . sell = 0 ; String name = "(" ; int numCheck = 0 ; for ( ItemStack ite : sellable ) { numCheck += ite . getAmount ( ) ; JItem it = JItemDB . findItem ( ite ) ; PriceListItem tprice = shop . pricelist . getItemPrice ( it ) ; if ( tprice != null ) { price . buy += ( ( tprice . buy ) > 0 ) ? tprice . buy : 0 ; price . sell += ( ( tprice . sell ) > 0 ) ? tprice . sell : 0 ; if ( ( name . length ( ) ) > 1 ) { name += ",<seq2seq4repair_space>" + ( it . coloredName ( ) ) ; } else { name += it . coloredName ( ) ; } } } name += ")" ; BSutils . sendMessage ( player , String . format ( BetterShop . getSettings ( ) . getString ( ( numCheck == 1 ? "pricecheck" : "multipricecheck" ) ) . replace ( "<buyprice>" , "%1$s" ) . replace ( "<sellprice>" , "%2$s" ) . replace ( "<item>" , "%3$s" ) . replace ( "<curr>" , "%4$s" ) . replace ( "<buycur>" , "%5$s" ) . replace ( "<sellcur>" , "%6$s" ) . replace ( "<avail>" , "%7$s" ) . replace ( "<amt>" , "%8$s" ) , ( ( ( price . IsLegal ( ) ) || canBuyIllegal ) && ( ( price . buy ) >= 0 ) ? price . buy : "No" ) , ( ( price . sell ) >= 0 ? price . sell : "No" ) , name , BetterShop . getSettings ( ) . currency ( ) , ( ( ( price . IsLegal ( ) ) || canBuyIllegal ) && ( ( price . buy ) >= 0 ) ? BSEcon . format ( price . buy ) : "No" ) , ( ( price . sell ) >= 0 ? BSEcon . format ( price . sell ) : "No" ) , "?" , numCheck ) ) ; } else { BSutils . sendMessage ( player , "no<seq2seq4repair_space>sellabel<seq2seq4repair_space>items<seq2seq4repair_space>in<seq2seq4repair_space>your<seq2seq4repair_space>inventory" ) ; } return true ; } else { JItem [ ] lookup = JItemDB . findItems ( s [ 0 ] ) ; if ( ( ( lookup == null ) || ( ( lookup . length ) == 0 ) ) || ( ( lookup [ 0 ] ) == null ) ) { lookup = JItemDB . getItemsByCategory ( s [ 0 ] ) ; if ( ( ( lookup == null ) || ( ( lookup . length ) == 0 ) ) || ( ( lookup [ 0 ] ) == null ) ) { BSutils . sendMessage ( player , BetterShop . getSettings ( ) . getString ( "unkitem" ) . replace ( "<item>" , s [ 0 ] ) ) ; return true ; } } int inStore = 0 ; int numCheck = ( ( ( s . length ) > 1 ) && ( ! ( s [ 1 ] . equalsIgnoreCase ( "all" ) ) ) ) ? CheckInput . GetInt ( s [ 1 ] , 1 ) : 1 ;

Fix:
@ Command ( commands = { "shopcheck" , "scheck" , "sc" } , aliases = { "check" , "c" , "price" , "lookup" } , desc = "Check<seq2seq4repair_space>prices<seq2seq4repair_space>for<seq2seq4repair_space>an<seq2seq4repair_space>item" , permissions = { "BetterShop.user.check" } )