Program: 183915
Project: 183915
Buggy source:
public void onWorldLoad(WorldLoadEvent event){
  World w=event.getWorld();
  cb.worldSpawns.put(w,new Spawns());
  if (config.getKeys("String_Node_Str") != null && config.getKeys("String_Node_Str").contains(w.getName())) {
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.PIG,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SHEEP,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.COW,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.CHICKEN,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.PIG_ZOMBIE,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SQUID,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.WOLF,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.ZOMBIE,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SKELETON,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SPIDER,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.CREEPER,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SLIME,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.GHAST,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SPIDER,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.GIANT,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).AnimalBlockBlackList=getBlacklist(config.getString("String_Node_Str","String_Node_Str"));
    this.cb.worldSpawns.get(w).MonterBlockBlacklist=getBlacklist(config.getString("String_Node_Str","String_Node_Str"));
  }
 else {
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str","String_Node_Str");
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str","String_Node_Str");
    config.save();
    System.out.println("String_Node_Str" + w.getName() + "String_Node_Str");
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.PIG,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SHEEP,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.COW,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.CHICKEN,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.PIG_ZOMBIE,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SQUID,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.WOLF,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.ZOMBIE,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SKELETON,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SPIDER,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.CREEPER,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SLIME,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.GHAST,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.GIANT,true);
    this.cb.worldSpawns.get(w).AnimalBlockBlackList=getBlacklist(config.getString("String_Node_Str","String_Node_Str"));
    this.cb.worldSpawns.get(w).MonterBlockBlacklist=getBlacklist(config.getString("String_Node_Str","String_Node_Str"));
  }
}

Fixed version (ground truth):
public void onWorldLoad(WorldLoadEvent event){
  World w=event.getWorld();
  cb.worldSpawns.put(w,new Spawns());
  if (config.getKeys("String_Node_Str") != null && config.getKeys("String_Node_Str").contains(w.getName())) {
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.PIG,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SHEEP,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.COW,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.CHICKEN,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.PIG_ZOMBIE,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SQUID,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.WOLF,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.ZOMBIE,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SKELETON,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SPIDER,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.CREEPER,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SLIME,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.GHAST,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SPIDER,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.GIANT,config.getBoolean("String_Node_Str" + w.getName() + "String_Node_Str",true));
    this.cb.worldSpawns.get(w).AnimalBlockBlackList=getBlacklist(config.getString("String_Node_Str" + w.getName() + "String_Node_Str","String_Node_Str"));
    this.cb.worldSpawns.get(w).MonterBlockBlacklist=getBlacklist(config.getString("String_Node_Str" + w.getName() + "String_Node_Str","String_Node_Str"));
  }
 else {
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str",Boolean.valueOf(true));
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str","String_Node_Str");
    config.setProperty("String_Node_Str" + w.getName() + "String_Node_Str","String_Node_Str");
    config.save();
    System.out.println("String_Node_Str" + w.getName() + "String_Node_Str");
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.PIG,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SHEEP,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.COW,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.CHICKEN,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.PIG_ZOMBIE,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SQUID,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.WOLF,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.ZOMBIE,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SKELETON,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SPIDER,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.CREEPER,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.SLIME,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.GHAST,true);
    this.cb.worldSpawns.get(w).SpawnAllowed.put(CreatureType.GIANT,true);
    this.cb.worldSpawns.get(w).AnimalBlockBlackList=getBlacklist(config.getString("String_Node_Str" + w.getName() + "String_Node_Str","String_Node_Str"));
    this.cb.worldSpawns.get(w).MonterBlockBlacklist=getBlacklist(config.getString("String_Node_Str" + w.getName() + "String_Node_Str","String_Node_Str"));
  }
}