Buggy code:
public class StatCommand extends BeardStatCommand { public StatCommand ( EntityStatManager playerStatManager , BukkitPlugin plugin ) { } @ SuppressWarnings ( "deprecation" ) @ Override public boolean onCommand ( CommandSender sender , Command command , String cmdLabel , String [ ] args ) { try { ArgumentPack < CommandSender > arguments = new ArgumentPack < CommandSender > ( new String [ ] { "i" , "h" } , new String [ ] { "p" , "s" } , args ) ; OfflinePlayer player = null ; if ( ( sender . hasPermission ( PERM_COMMAND_STAT_OTHER ) ) && ( ( arguments . getOption ( "p" ) ) != null ) ) { player = Bukkit . getOfflinePlayer ( arguments . getOption ( "p" ) ) ; } if ( ( player == null ) && ( sender instanceof Player ) ) { player = ( ( Player ) ( sender ) ) ; } if ( ( player == null ) || ( arguments . getFlag ( "h" ) ) ) { StatCommand . sendHelpMessage ( sender ) ; return true ; } if ( arguments . getFlag ( "i" ) ) { sender . sendMessage ( "Interactive<seq2seq4repair_space>mode<seq2seq4repair_space>has<seq2seq4repair_space>been<seq2seq4repair_space>removed<seq2seq4repair_space>at<seq2seq4repair_space>this<seq2seq4repair_space>time." ) ; return true ; } if ( ( arguments . getOption ( "s" ) ) != null ) { Stack < String > stat = new Stack < String > ( ) ; for ( String s : arguments . getOption ( "s" ) . split ( "\\:\\:" ) ) { stat . add ( s ) ; } String statistic = ( ! ( stat . isEmpty ( ) ) ) ? stat . pop ( ) : null ; String category = ( ! ( stat . isEmpty ( ) ) ) ? stat . pop ( ) : null ; String world = ( ! ( stat . isEmpty ( ) ) ) ? stat . pop ( ) : ".*" ; String domain = ( ! ( stat . isEmpty ( ) ) ) ? stat . pop ( ) : ".*" ; EntityStatBlob blob = this . playerStatManager . getPlayer ( player . getUniqueId ( ) , player . getName ( ) , false ) ; sender . sendMessage ( ( ( ChatColor . YELLOW ) + "=========" ) ) ; if ( blob == null ) { sender . sendMessage ( LanguagePack . getMsg ( "command.error.noplayer" , player ) ) ; return true ; } StatVector vector = null ; try { vector = blob . getStats ( domain , world , category , statistic , true ) ; } catch ( PatternSyntaxException ex ) { sender . sendMessage ( "Invalid<seq2seq4repair_space>stat<seq2seq4repair_space>entered" ) ; return true ; } if ( ( vector . size ( ) ) == 0 ) { sender . sendMessage ( LanguagePack . getMsg ( "command.error.nostat" ) ) ; return true ; } if ( ( vector . size ( ) ) == 1 ) { IStat iStat = vector . iterator ( ) . next ( ) ; sender . sendMessage ( LanguagePack . getMsg ( "command.stat.stat" , playerStatManager . getLocalizedStatisticName ( iStat . getStatistic ( ) ) , playerStatManager . formatStat ( iStat . getStatistic ( ) , iStat . getValue ( ) ) ) ) ; return true ; } if ( ( vector . size ( ) ) > 1 ) { sender . sendMessage ( LanguagePack . getMsg ( "command.stat.stat" , ( ( playerStatManager . getLocalizedStatisticName ( vector . getStatistic ( ) ) ) + "<seq2seq4repair_space>total" ) , playerStatManager . formatStat ( vector . getStatistic ( ) , vector . getValue ( ) ) ) ) ; for ( IStat iStat : vector ) { sender . sendMessage ( LanguagePack . getMsg ( "command.stat.stat.world" , iStat . getWorld ( ) , iStat . getCategory ( ) , playerStatManager . getLocalizedStatisticName ( iStat . getStatistic ( ) ) , playerStatManager . formatStat ( iStat . getStatistic ( ) , iStat . getValue ( ) ) ) ) ; } return true ; } } else { sender . sendMessage ( ( ( ChatColor . YELLOW ) + "=========" ) ) ; <START_BUG> Bukkit . dispatchCommand ( sender , ( ( "statpage<seq2seq4repair_space>" + player ) + "<seq2seq4repair_space>default" ) ) ; <END_BUG> } } catch ( Exception e ) { this . plugin . handleError ( new BeardStatRuntimeException ( "//stats<seq2seq4repair_space>threw<seq2seq4repair_space>an<seq2seq4repair_space>error" , e , true ) ) ; } return true ; } public static void sendHelpMessage ( CommandSender sender ) { } No newline ; at end ; of file ; }

Fix:
Bukkit . dispatchCommand ( sender , ( ( "statpage<seq2seq4repair_space>" + ( player . getName ( ) ) ) + "<seq2seq4repair_space>default" ) ) ;