Program: 1928
Project: 1928
Buggy source:
/** 
 * Alters the selected trader's balance depending on the arguments given. Balance is used for iConomy.
 * @param player
 * @param npc
 * @param args
 */
private void changeBalance(Player player,HumanNPC npc,String[] args){
  double amount;
  try {
    amount=Double.parseDouble(args[2]);
  }
 catch (  NumberFormatException e) {
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    return;
  }
  if (args[1].contains("String_Node_Str")) {
    if (EconomyHandler.canBuy(new Payment(amount,true),player)) {
      EconomyHandler.pay(new Payment(-amount,true),npc,-1);
      EconomyHandler.pay(new Payment(amount,true),player,-1);
      player.sendMessage(ChatColor.GREEN + "String_Node_Str" + StringUtils.wrap(ServerEconomyInterface.format(amount))+ "String_Node_Str"+ StringUtils.wrap(npc.getStrippedName())+ "String_Node_Str"+ StringUtils.wrap(ServerEconomyInterface.getFormattedBalance(player.getName()),ChatColor.GREEN)+ "String_Node_Str");
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str" + "String_Node_Str"+ StringUtils.wrap(ServerEconomyInterface.format(amount - ServerEconomyInterface.getBalance(player.getName())),ChatColor.RED)+ "String_Node_Str");
    }
  }
 else   if (args[1].contains("String_Node_Str")) {
    if (EconomyHandler.canBuy(new Payment(amount,true),npc)) {
      EconomyHandler.pay(new Payment(amount,true),npc,-1);
      EconomyHandler.pay(new Payment(-amount,true),player,-1);
      player.sendMessage(ChatColor.GREEN + "String_Node_Str" + StringUtils.wrap(ServerEconomyInterface.format(amount))+ "String_Node_Str"+ StringUtils.wrap(npc.getStrippedName())+ "String_Node_Str"+ StringUtils.wrap(ServerEconomyInterface.getFormattedBalance(player.getName()))+ "String_Node_Str");
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str" + StringUtils.wrap(ServerEconomyInterface.format(amount - npc.getBalance()),ChatColor.RED)+ "String_Node_Str");
    }
  }
 else {
    player.sendMessage(ChatColor.RED + "String_Node_Str" + StringUtils.wrap(args[1],ChatColor.RED)+ "String_Node_Str");
  }
}

Fixed version (ground truth):
/** 
 * Alters the selected trader's balance depending on the arguments given. Balance is used for iConomy.
 * @param player
 * @param npc
 * @param args
 */
private void changeBalance(Player player,HumanNPC npc,String[] args){
  double amount;
  try {
    amount=Double.parseDouble(args[2]);
  }
 catch (  NumberFormatException e) {
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    return;
  }
  if (args[1].contains("String_Node_Str")) {
    if (EconomyHandler.canBuy(new Payment(amount,true),player)) {
      EconomyHandler.pay(new Payment(-amount,true),npc,-1);
      EconomyHandler.pay(new Payment(amount,true),player,-1);
      player.sendMessage(ChatColor.GREEN + "String_Node_Str" + StringUtils.wrap(ServerEconomyInterface.format(amount))+ "String_Node_Str"+ StringUtils.wrap(npc.getStrippedName())+ "String_Node_Str"+ StringUtils.wrap(ServerEconomyInterface.getFormattedBalance(player.getName()),ChatColor.GREEN)+ "String_Node_Str");
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str" + StringUtils.wrap(ServerEconomyInterface.format(amount - ServerEconomyInterface.getBalance(player.getName())),ChatColor.RED)+ "String_Node_Str");
    }
  }
 else   if (args[1].contains("String_Node_Str")) {
    if (EconomyHandler.canBuy(new Payment(amount,true),npc)) {
      EconomyHandler.pay(new Payment(amount,true),npc,-1);
      EconomyHandler.pay(new Payment(-amount,true),player,-1);
      player.sendMessage(ChatColor.GREEN + "String_Node_Str" + StringUtils.wrap(ServerEconomyInterface.format(amount))+ "String_Node_Str"+ StringUtils.wrap(npc.getStrippedName())+ "String_Node_Str"+ StringUtils.wrap(ServerEconomyInterface.getFormattedBalance(player.getName()))+ "String_Node_Str");
    }
 else {
      player.sendMessage(ChatColor.RED + "String_Node_Str" + StringUtils.wrap(ServerEconomyInterface.format(amount - npc.getBalance()),ChatColor.RED)+ "String_Node_Str");
    }
  }
 else {
    player.sendMessage(ChatColor.RED + "String_Node_Str" + StringUtils.wrap(args[1],ChatColor.RED)+ "String_Node_Str");
  }
}