Buggy code:
public static void loadProjectiles ( ) { } public static void loadBuffs ( ) { } public static void loadEvents ( ) { } public static void loadBiomes ( ) { } public static void loadControls ( ) { } public static void loadTextures ( ) { } public static void loadCursors ( ) { } public static void loadSounds ( ) { } public static void loadFonts ( ) { } public static void loadShaders ( ) { } public static void loadAdmins ( ) { } public static void loadBanned ( ) { } public static boolean isAdmin ( String auth ) { } public static boolean isAdmin ( int auth ) { } public static void addAdmin ( String auth ) { } public static boolean removeAdmin ( String auth ) { } public static boolean isBanned ( String auth ) { } public static boolean isBanned ( int auth ) { } public static void addBanned ( String auth ) { } public static boolean removeBanned ( String auth ) { } public static void compileIDList ( ) { File file = new File ( "ids.txt" ) ; try { OutputStream make = new FileOutputStream ( file ) ; String text = "" ; text += "ITEMS:\n" ; for ( int i = 0 ; i < ( GlobalData . items . length ) ; i ++ ) { if ( ( GlobalData . items [ i ] ) != null ) text += ( ( ( ( i + ":<seq2seq4repair_space>" ) + ( GlobalData . items [ i ] . name ) ) + "<seq2seq4repair_space>(" ) + ( GlobalData . items [ i ] . nameId ) ) + ")\n" ; } text += "\nTILES:\n" ; for ( int i = 0 ; i < ( GlobalData . tiles . length ) ; i ++ ) { if ( ( GlobalData . tiles [ i ] ) != null ) text += ( ( ( ( i + ":<seq2seq4repair_space>" ) + ( GlobalData . tiles [ i ] . name ) ) + "<seq2seq4repair_space>(" ) + ( GlobalData . tiles [ i ] . nameId ) ) + ")\n" ; } text += "\nOBJECTS:\n" ; for ( int i = 0 ; i < ( GlobalData . objects . length ) ; i ++ ) { if ( ( GlobalData . objects [ i ] ) != null ) text += ( ( ( ( i + ":<seq2seq4repair_space>" ) + ( GlobalData . objects [ i ] . name ) ) + "<seq2seq4repair_space>(" ) + ( GlobalData . objects [ i ] . nameId ) ) + ")\n" ; } text += "\nMOBS:\n" ; for ( int i = 0 ; i < ( GlobalData . mobs . length ) ; i ++ ) { if ( ( GlobalData . mobs [ i ] ) != null ) text += ( ( i + ":<seq2seq4repair_space>" ) + ( GlobalData . mobs [ i ] . type ) ) + "\n" ; } text += "\nPROJECTILES:\n" ; for ( int i = 0 ; i < ( GlobalData . projectiles . length ) ; i ++ ) { if ( ( GlobalData . projectiles [ i ] ) != null ) text += ( ( i + ":<seq2seq4repair_space>" ) + ( GlobalData . projectiles [ i ] . type ) ) + "\n" ; } text += "\nCONTROLS:\n" ; for ( int i = 0 ; i < ( GlobalData . controls . size ( ) ) ; i ++ ) { if ( ( GlobalData . controls . get ( i ) ) != null ) <START_BUG> text += ( ( ( ( ( GlobalData . controls . get ( i ) . text ) + "<seq2seq4repair_space>(" ) + ( GlobalData . controls . get ( i ) . name ) ) + ",<seq2seq4repair_space>" ) + ( GlobalData . controls . get ( i ) . key ) ) + ")\n" ; <END_BUG> } text += "\nRECIPES:\n" ; for ( int i = 0 ; i < ( Recipes . getRecipes ( ) . size ( ) ) ; i ++ ) { if ( ( Recipes . getRecipes ( ) . get ( i ) ) != null ) { Recipe r = Recipes . getRecipes ( ) . get ( i ) ; text += ( ( ( r . resultAmount ) + "<seq2seq4repair_space>" ) + ( r . resultId ) ) + "<seq2seq4repair_space>(" ; for ( int j = 0 ; j < ( r . ingredients . length ) ; j ++ ) { text += ( ( r . ingredients [ j ] . itemAmount ) + "<seq2seq4repair_space>" ) + ( r . ingredients [ j ] . itemId ) ; if ( j < ( ( r . ingredients . length ) - 1 ) ) text += ",<seq2seq4repair_space>" ; } text += ( ( ( "),<seq2seq4repair_space>" + ( Recipes . getCategoryName ( r . category ) ) ) + ",<seq2seq4repair_space>" ) + ( Recipes . getTechName ( r . tech ) ) ) + "\n" ; } } make . write ( text . getBytes ( ) ) ; } catch ( FileNotFoundException e ) { e . printStackTrace ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } public static boolean addItem ( Item item , int id ) { } public static boolean addObject ( Object object , int id ) { } public static boolean addWallObject ( String textureName , String nameId , String itemName , int toolTier , int wallId , int doorId , int doorOpenId , ToolItem . ToolType toolType ) { } public static boolean addWallObject ( String textureName , String nameId , String itemName , int toolTier , int wallId , int doorId , int doorOpenId ) { }

Fix:
text += ( ( ( ( ( GlobalData . controls . get ( i ) . text ) + "<seq2seq4repair_space>(" ) + ( GlobalData . controls . get ( i ) . name ) ) + ",<seq2seq4repair_space>" ) + ( GlobalData . controls . get ( i ) . getKey ( ) ) ) + ")\n" ;