Buggy code:
public Update getUpdateCheck ( ) { } public void setUpdateCheck ( Update updateCheck ) { } public boolean isCalculatingLevel ( ) { } public boolean isNewIsland ( ) { } public void loadPluginConfig ( ) { try { getConfig ( ) ; } catch ( final Exception e ) { e . printStackTrace ( ) ; } Challenges . getChallengeConfig ( ) ; availableLocales . put ( "locale" , new Locale ( this , "locale" ) ) ; availableLocales . put ( "de-DE" , new Locale ( this , "de-DE" ) ) ; availableLocales . put ( "en-US" , new Locale ( this , "en-US" ) ) ; availableLocales . put ( "es-ES" , new Locale ( this , "es-ES" ) ) ; availableLocales . put ( "fr-FR" , new Locale ( this , "fr-FR" ) ) ; availableLocales . put ( "it-IT" , new Locale ( this , "it-IT" ) ) ; availableLocales . put ( "ko-KR" , new Locale ( this , "ko-KR" ) ) ; availableLocales . put ( "pl-PL" , new Locale ( this , "pl-PL" ) ) ; availableLocales . put ( "pt-BR" , new Locale ( this , "pt-BR" ) ) ; availableLocales . put ( "zh-CN" , new Locale ( this , "zh-CN" ) ) ; availableLocales . put ( "cs-CS" , new Locale ( this , "cs-CS" ) ) ; availableLocales . put ( "sk-SK" , new Locale ( this , "sk-SK" ) ) ; Settings . debug = getConfig ( ) . getInt ( "debug" , 0 ) ; if ( getConfig ( ) . contains ( "general.schematics" ) ) { for ( String key : getConfig ( ) . getConfigurationSection ( "general.schematics" ) . getKeys ( true ) ) { String filename = getConfig ( ) . getString ( ( "general.schematics." + key ) ) ; File schematicFile = new File ( ASkyBlock . plugin . getDataFolder ( ) , filename ) ; if ( schematicFile . exists ( ) ) { schematics . put ( key , filename ) ; getLogger ( ) . info ( ( ( ( "Found<seq2seq4repair_space>" + filename ) + "<seq2seq4repair_space>for<seq2seq4repair_space>perm<seq2seq4repair_space>" ) + key ) ) ; } } } Settings . useSchematicPanel = getConfig ( ) . getBoolean ( "general.useschematicspanel" , true ) ; Settings . setTeamName = getConfig ( ) . getBoolean ( "general.setteamsuffix" , false ) ; Settings . immediateTeleport = getConfig ( ) . getBoolean ( "general.immediateteleport" , false ) ; Settings . makeIslandIfNone = getConfig ( ) . getBoolean ( "general.makeislandifnone" , false ) ; Settings . usePhysics = getConfig ( ) . getBoolean ( "general.usephysics" , false ) ; Settings . loginLevel = getConfig ( ) . getBoolean ( "general.loginlevel" , false ) ; Settings . useEconomy = getConfig ( ) . getBoolean ( "general.useeconomy" , true ) ; Settings . updateCheck = getConfig ( ) . getBoolean ( "general.checkupdates" , true ) ; Settings . resetCommands = getConfig ( ) . getStringList ( "general.resetcommands" ) ; Settings . leaveCommands = getConfig ( ) . getStringList ( "general.leavecommands" ) ; Settings . useControlPanel = getConfig ( ) . getBoolean ( "general.usecontrolpanel" , false ) ; Settings . allowTeleportWhenFalling = getConfig ( ) . getBoolean ( "general.allowfallingteleport" , true ) ; Settings . fallingCommandBlockList = getConfig ( ) . getStringList ( "general.blockingcommands" ) ; Settings . maxTeamSize = getConfig ( ) . getInt ( "island.maxteamsize" , 4 ) ; Settings . maxTeamSizeVIP = getConfig ( ) . getInt ( "island.maxteamsizeVIP" , 8 ) ; Settings . maxTeamSizeVIP2 = getConfig ( ) . getInt ( "island.maxteamsizeVIP2" , 12 ) ; Settings . maxHomes = getConfig ( ) . getInt ( "general.maxhomes" , 1 ) ; if ( ( Settings . maxHomes ) < 1 ) { Settings . maxHomes = 1 ; } Settings . worldName = getConfig ( ) . getString ( "general.worldName" ) ; Settings . createNether = getConfig ( ) . getBoolean ( "general.createnether" , true ) ; if ( ! ( Settings . createNether ) ) { getLogger ( ) . info ( "The<seq2seq4repair_space>Nether<seq2seq4repair_space>is<seq2seq4repair_space>disabled" ) ; } String companion = getConfig ( ) . getString ( "island.companion" , "COW" ) . toUpperCase ( ) ; <START_BUG> if ( companion == "NOTHING" ) { <END_BUG> Settings . islandCompanion = null ; } else { try { Settings . islandCompanion = EntityType . valueOf ( companion ) ; switch ( Settings . islandCompanion ) { case BAT : case CHICKEN : case COW : case HORSE : case IRON_GOLEM : case MUSHROOM_COW : case OCELOT : case PIG : case RABBIT : case SHEEP : case SNOWMAN : case VILLAGER : case WOLF : break ; default : getLogger ( ) . warning ( "Island<seq2seq4repair_space>companion<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>recognized.<seq2seq4repair_space>Pick<seq2seq4repair_space>from<seq2seq4repair_space>COW,<seq2seq4repair_space>PIG,<seq2seq4repair_space>SHEEP,<seq2seq4repair_space>CHICKEN,<seq2seq4repair_space>VILLAGER,<seq2seq4repair_space>HORSE,<seq2seq4repair_space>IRON_GOLEM,<seq2seq4repair_space>OCELOT,<seq2seq4repair_space>RABBIT,<seq2seq4repair_space>WOLF,<seq2seq4repair_space>SNOWMAN,<seq2seq4repair_space>BAT,<seq2seq4repair_space>MUSHROOM_COW" ) ; Settings . islandCompanion = EntityType . COW ; break ; } } catch ( Exception e ) { getLogger ( ) . warning ( "Island<seq2seq4repair_space>companion<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>recognized.<seq2seq4repair_space>Pick<seq2seq4repair_space>from<seq2seq4repair_space>COW,<seq2seq4repair_space>PIG,<seq2seq4repair_space>SHEEP,<seq2seq4repair_space>CHICKEN,<seq2seq4repair_space>VILLAGER,<seq2seq4repair_space>HORSE,<seq2seq4repair_space>IRON_GOLEM,<seq2seq4repair_space>OCELOT,<seq2seq4repair_space>RABBIT,<seq2seq4repair_space>WOLF,<seq2seq4repair_space>BAT,<seq2seq4repair_space>MUSHROOM_COW,<seq2seq4repair_space>SNOWMAN" ) ; Settings . islandCompanion = EntityType . COW ; } } List < String > companionNames = getConfig ( ) . getStringList ( "island.companionnames" ) ; Settings . companionNames = new ArrayList < String > ( ) ; for ( String name : companionNames ) { companionNames . add ( ChatColor . translateAlternateColorCodes ( '&' , name ) ) ; } Settings . islandDistance = getConfig ( ) . getInt ( "island.distance" , 200 ) ; if ( ( Settings . islandDistance ) < 50 ) { Settings . islandDistance = 50 ; getLogger ( ) . info ( "Setting<seq2seq4repair_space>minimum<seq2seq4repair_space>island<seq2seq4repair_space>distance<seq2seq4repair_space>to<seq2seq4repair_space>50" ) ; } Settings . islandXOffset = getConfig ( ) . getInt ( "island.xoffset" , 0 ) ; if ( ( Settings . islandXOffset ) < 0 ) { Settings . islandXOffset = 0 ; getLogger ( ) . info ( "Setting<seq2seq4repair_space>minimum<seq2seq4repair_space>island<seq2seq4repair_space>X<seq2seq4repair_space>Offset<seq2seq4repair_space>to<seq2seq4repair_space>0" ) ; } else if ( ( Settings . islandXOffset ) > ( Settings . islandDistance ) ) { Settings . islandXOffset = Settings . islandDistance ; getLogger ( ) . info ( ( "Setting<seq2seq4repair_space>maximum<seq2seq4repair_space>island<seq2seq4repair_space>X<seq2seq4repair_space>Offset<seq2seq4repair_space>to<seq2seq4repair_space>" + ( Settings . islandDistance ) ) ) ;

Fix:
if ( companion . equalsIgnoreCase ( "NOTHING" ) ) {