Program: 187718
Project: 187718
Buggy source:
public void SaveWolves(){
  cb.WolvesConfig.removeProperty("String_Node_Str");
  for (  String owner : cb.mWolves.keySet()) {
    Wolves wolf=cb.mWolves.get(owner);
    String Items="String_Node_Str";
    if (cb.mWolves.get(owner).Inventory.getContents().length > 0)     for (    ItemStack Item : cb.mWolves.get(owner).Inventory.getContents()) {
      if (Item != null) {
        Items+=Item.id + "String_Node_Str" + Item.count+ "String_Node_Str"+ Item.damage+ "String_Node_Str";
      }
 else {
        Items+="String_Node_Str";
      }
    }
    if (cb.mWolves.get(owner).Inventory.getContents().length > 0) {
      Items=Items.substring(0,Items.length() - 1);
    }
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getLocation().getX());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getLocation().getY());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getLocation().getZ());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getLocation().getWorld().getName());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getHealth());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.HealthMax);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.Lives);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.RespawnTime);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",Items);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.Name);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.isSitting());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.hasInventory);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.hasPickup);
  }
  cb.WolvesConfig.save();
}

Fixed version (ground truth):
public void SaveWolves(){
  cb.WolvesConfig.removeProperty("String_Node_Str");
  for (  String owner : cb.mWolves.keySet()) {
    Wolves wolf=cb.mWolves.get(owner);
    String Items="String_Node_Str";
    if (cb.mWolves.get(owner).Inventory1.getContents().length > 0) {
      for (      ItemStack Item : cb.mWolves.get(owner).Inventory1.getContents()) {
        if (Item != null) {
          Items+=Item.id + "String_Node_Str" + Item.count+ "String_Node_Str"+ Item.damage+ "String_Node_Str";
        }
 else {
          Items+="String_Node_Str";
        }
      }
      Items=Items.substring(0,Items.length() - 1);
    }
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",Items);
    if (cb.mWolves.get(owner).InventoryMode == InventoryType.LARGE) {
      String Items2="String_Node_Str";
      if (cb.mWolves.get(owner).Inventory2.getContents().length > 0) {
        for (        ItemStack Item : cb.mWolves.get(owner).Inventory2.getContents()) {
          if (Item != null) {
            Items2+=Item.id + "String_Node_Str" + Item.count+ "String_Node_Str"+ Item.damage+ "String_Node_Str";
          }
 else {
            Items2+="String_Node_Str";
          }
        }
        Items2=Items2.substring(0,Items2.length() - 1);
      }
      cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",Items2);
    }
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getLocation().getX());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getLocation().getY());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getLocation().getZ());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getLocation().getWorld().getName());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.getHealth());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.HealthMax);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.Lives);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.RespawnTime);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.Name);
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.isSitting());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.InventoryMode.name());
    cb.WolvesConfig.setProperty("String_Node_Str" + owner + "String_Node_Str",wolf.hasPickup);
  }
  cb.WolvesConfig.save();
}