Buggy code:
} else { CraftoMessenger . sendFailed ( cs , "Fehler:<seq2seq4repair_space>Es<seq2seq4repair_space>wurde<seq2seq4repair_space>ein<seq2seq4repair_space>unbekannter<seq2seq4repair_space>type<seq2seq4repair_space>angegeben." ) ; } } else if ( ( arg . startsWith ( "t:" ) ) && ( ( arg . length ( ) ) > 3 ) ) { final String type = arg . substring ( 3 , arg . length ( ) ) ; if ( ( ( arg . equalsIgnoreCase ( "PUBLIC" ) ) || ( type . equalsIgnoreCase ( "PROTECTED" ) ) ) || ( type . equalsIgnoreCase ( "PRIVATE" ) ) ) { b . append ( ( ( "AND<seq2seq4repair_space>`type`<seq2seq4repair_space>=<seq2seq4repair_space>'" + ( type . toUpperCase ( ) ) ) + "'<seq2seq4repair_space>" ) ) ; } else { CraftoMessenger . sendFailed ( cs , "Fehler:<seq2seq4repair_space>Es<seq2seq4repair_space>wurde<seq2seq4repair_space>ein<seq2seq4repair_space>unbekannter<seq2seq4repair_space>type<seq2seq4repair_space>angegeben." ) ; } } else if ( ( arg . startsWith ( "hidden:" ) ) && ( ( arg . length ( ) ) > 7 ) ) { if ( arg . substring ( 7 , arg . length ( ) ) . equalsIgnoreCase ( "true" ) ) { b . append ( "AND<seq2seq4repair_space>`hidden`<seq2seq4repair_space>=<seq2seq4repair_space>1<seq2seq4repair_space>" ) ; } else { b . append ( "AND<seq2seq4repair_space>`hidden`<seq2seq4repair_space>=<seq2seq4repair_space>0<seq2seq4repair_space>" ) ; } } else if ( ( arg . startsWith ( "h:" ) ) && ( ( arg . length ( ) ) > 2 ) ) { if ( arg . substring ( 2 , arg . length ( ) ) . equalsIgnoreCase ( "true" ) ) { b . append ( "AND<seq2seq4repair_space>`hidden`<seq2seq4repair_space>=<seq2seq4repair_space>1<seq2seq4repair_space>" ) ; } else { b . append ( "AND<seq2seq4repair_space>`hidden`<seq2seq4repair_space>=<seq2seq4repair_space>0<seq2seq4repair_space>" ) ; } } else if ( ( arg . startsWith ( "page:" ) ) && ( ( arg . length ( ) ) > 5 ) ) { if ( Check . isInt ( arg . substring ( 5 , arg . length ( ) ) ) ) { page = Integer . parseInt ( arg . substring ( 5 , arg . length ( ) ) ) ; } } else if ( ( arg . startsWith ( "#" ) ) && ( ( arg . length ( ) ) > 1 ) ) { if ( Check . isInt ( arg . substring ( 1 , arg . length ( ) ) ) ) { page = Integer . parseInt ( arg . substring ( 1 , arg . length ( ) ) ) ; } } else if ( ( arg . startsWith ( "limit:" ) ) && ( ( arg . length ( ) ) > 6 ) ) { if ( Check . isInt ( arg . substring ( 6 , arg . length ( ) ) ) ) { limit = Integer . parseInt ( arg . substring ( 6 , arg . length ( ) ) ) ; } } else { if ( ( Check . isInt ( arg ) ) && ( b . toString ( ) . contains ( "`playerid`" ) ) ) { page = Integer . parseInt ( arg ) ; } else { final int playerId = ChatCommands . this . getPlayer ( arg ) ; if ( playerId > 0 ) { b . append ( ( ( "AND<seq2seq4repair_space>`playerid`<seq2seq4repair_space>=<seq2seq4repair_space>" + playerId ) + "<seq2seq4repair_space>" ) ) ; name = arg ; } else { CraftoMessenger . sendFailed ( cs , "Fehler:<seq2seq4repair_space>Der<seq2seq4repair_space>angegebene<seq2seq4repair_space>Spieler<seq2seq4repair_space>konnte<seq2seq4repair_space>nicht<seq2seq4repair_space>gefunden<seq2seq4repair_space>werden." ) ; } } } } <START_BUG> b . append ( ( "<seq2seq4repair_space>LIMIT<seq2seq4repair_space>" + limit ) ) ; <END_BUG> final ResultSet result = ChatCommands . this . module . getPlugin ( ) . getDatenbank ( ) . getSQL ( ) . getResult ( ( ( b . toString ( ) ) + ";" ) , false , true ) ; final int size = ChatCommands . this . getSize ( result ) ; if ( page < 1 ) { page = size // 10 ; } if ( result != null ) { final Json header = new Json ( ) . add ( "CraftoPlugin<seq2seq4repair_space>////<seq2seq4repair_space>" , GOLD ) . add ( ( "Nachrichten" + ( name != null ? "<seq2seq4repair_space>von<seq2seq4repair_space>" + name : "" ) ) , YELLOW ) . s ( ) ; if ( page > 1 ) { header . add ( "[" , YELLOW ) ; header . add ( "<<" , ( "Zu<seq2seq4repair_space>Seite<seq2seq4repair_space>" + ( page - 1 ) ) , "run_command" , ( ( ( "//" + command ) + "<seq2seq4repair_space>" ) + ( ChatCommands . this . buildString ( args , ( page - 1 ) ) ) ) ) ; header . add ( "]<seq2seq4repair_space>" , YELLOW ) ; } header . add ( ( ( ( ( "[§fSeite<seq2seq4repair_space>" + page ) + "//" ) + ( size // 10 ) ) + "§e]" ) , YELLOW ) . s ( ) ; if ( page < ( size // 10 ) ) { header . add ( "[" , YELLOW ) ; header . add ( ">>" , ( "Zu<seq2seq4repair_space>Seite<seq2seq4repair_space>" + ( page + 1 ) ) , "run_command" , ( ( ( "//" + command ) + "<seq2seq4repair_space>" ) + ( ChatCommands . this . buildString ( args , ( page + 1 ) ) ) ) ) ; header . add ( "]<seq2seq4repair_space>" , YELLOW ) ; } header . sendTo ( cs . getName ( ) ) ; try { int index = 1 ; while ( result . next ( ) ) { if ( ( index > ( ( page * 10 ) - 10 ) ) && ( index < ( page * 10 ) ) ) { final Json json = new Json ( ) ; json . add ( "<seq2seq4repair_space>" ) ; if ( result . getString ( "type" ) . equalsIgnoreCase ( "PUBLIC" ) ) { json . add ( "+" , GREEN ) . s ( ) ; }

Fix:
b . append ( ( ( "<seq2seq4repair_space>LIMIT<seq2seq4repair_space>" + limit ) + "<seq2seq4repair_space>ORDER<seq2seq4repair_space>BY<seq2seq4repair_space>`created_at`<seq2seq4repair_space>DESC" ) ) ;