Program: 84861
Project: 84861
Buggy source:
public static void setupWorld(String worldName){
  worldConfig.put(worldName,new KKWorldConfig());
  if (!wConfig.getKeys(null).contains(worldName)) {
    setConfigDefaults(worldName);
    log.info(plugName + "String_Node_Str" + worldName+ "String_Node_Str");
  }
  KKWorldConfig conf=worldConfig.get(worldName);
  for (  CreatureType creature : CreatureType.values()) {
    if (creature == CreatureType.MONSTER)     continue;
    String cName=creature.name();
    if (wConfig.getNode(worldName + "String_Node_Str" + cName) == null) {
      wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      wConfig.save();
    }
 else {
      double minReward=wConfig.getDouble(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      double maxReward=wConfig.getDouble(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      double chance=wConfig.getDouble(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      if (minReward < 0) {
        minReward=0;
        wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",minReward);
        wConfig.save();
      }
      if (maxReward < minReward) {
        maxReward=minReward;
        wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",maxReward);
        wConfig.save();
      }
      if (chance < 0) {
        chance=0;
        wConfig.getDouble(worldName + "String_Node_Str" + cName+ "String_Node_Str",chance);
        wConfig.save();
      }
      conf.set(creature,minReward,maxReward,chance);
    }
  }
}

Fixed version (ground truth):
public static void setupWorld(String worldName){
  worldConfig.put(worldName,new KKWorldConfig());
  if (!wConfig.getKeys(null).contains(worldName)) {
    setConfigDefaults(worldName);
    log.info(plugName + "String_Node_Str" + worldName+ "String_Node_Str");
  }
  KKWorldConfig conf=worldConfig.get(worldName);
  for (  CreatureType creature : CreatureType.values()) {
    if (creature == CreatureType.MONSTER)     continue;
    String cName=creature.name().toLowerCase();
    if (wConfig.getNode(worldName + "String_Node_Str" + cName) == null) {
      wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      wConfig.save();
    }
 else {
      double minReward=wConfig.getDouble(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      double maxReward=wConfig.getDouble(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      double chance=wConfig.getDouble(worldName + "String_Node_Str" + cName+ "String_Node_Str",0.0);
      if (minReward < 0) {
        minReward=0;
        wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",minReward);
        wConfig.save();
      }
      if (maxReward < minReward) {
        maxReward=minReward;
        wConfig.setProperty(worldName + "String_Node_Str" + cName+ "String_Node_Str",maxReward);
        wConfig.save();
      }
      if (chance < 0) {
        chance=0;
        wConfig.getDouble(worldName + "String_Node_Str" + cName+ "String_Node_Str",chance);
        wConfig.save();
      }
      conf.set(creature,minReward,maxReward,chance);
    }
  }
}