Program: 10544
Project: 10544
Buggy source:
@Override public boolean onCommand(CommandSender sender,Command cmd,String cmdLabel,String[] args){
  if (args.length < 1) {
    sender.sendMessage(ChatColor.RED + "String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str") && !(sender instanceof Player)) {
    saveSaves();
    sender.sendMessage("String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str") && !(sender instanceof Player)) {
    reloadConfig();
    reloadScripts();
    reloadAssignments();
    reloadSaves();
    Denizen.scriptEngine.buildLocationTriggerList();
    sender.sendMessage("String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str") && !(sender instanceof Player)) {
    sender.sendMessage(ChatColor.GREEN + denizenVersion);
    return true;
  }
  if (!(sender instanceof Player)) {
    sender.sendMessage("String_Node_Str");
    return true;
  }
  Player player=(Player)sender;
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    player.sendMessage("String_Node_Str" + player.getTargetBlock(null,20).getData());
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    Block toAddData=player.getTargetBlock(null,20);
    toAddData.setData((byte)(toAddData.getData() + 1));
    player.sendMessage("String_Node_Str" + player.getTargetBlock(null,20).getData());
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    Block toAddData=player.getTargetBlock(null,20);
    toAddData.setData((byte)(toAddData.getData() - 1));
    player.sendMessage("String_Node_Str" + player.getTargetBlock(null,20).getData());
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length == 1) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (!Denizen.DebugMode) {
      DebugMode=true;
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 else     if (Denizen.DebugMode) {
      DebugMode=false;
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    saveSaves();
    player.sendMessage(ChatColor.GREEN + "String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    reloadSaves();
    reloadConfig();
    reloadScripts();
    reloadAssignments();
    player.sendMessage(ChatColor.GREEN + "String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    player.sendMessage(ChatColor.GREEN + denizenVersion);
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    scriptEngine.scheduleScripts();
    player.sendMessage("String_Node_Str");
    return true;
  }
  if (player.getMetadata("String_Node_Str").isEmpty()) {
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    return true;
  }
  NPC ThisNPC=CitizensAPI.getNPCRegistry().getNPC(player.getMetadata("String_Node_Str").get(0).asInt());
  if (ThisNPC.getCharacter() == null || !ThisNPC.getCharacter().getName().equals("String_Node_Str")) {
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 3) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      List<String> locationList=getAssignments().getStringList("String_Node_Str" + ThisNPC.getName() + "String_Node_Str");
      locationList.add(args[2] + "String_Node_Str" + player.getWorld().getName()+ "String_Node_Str"+ player.getLocation().getX()+ "String_Node_Str"+ player.getLocation().getY()+ "String_Node_Str"+ player.getLocation().getZ()+ "String_Node_Str"+ player.getLocation().getYaw()+ "String_Node_Str"+ player.getLocation().getPitch());
      getSaves().set("String_Node_Str" + ThisNPC.getName() + "String_Node_Str",locationList);
      saveSaves();
      Denizen.scriptEngine.buildLocationTriggerList();
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      List<String> blockList=getAssignments().getStringList("String_Node_Str" + ThisNPC.getName() + "String_Node_Str");
      Block targetBlock=player.getTargetBlock(null,6);
      blockList.add(args[2] + "String_Node_Str" + player.getWorld().getName()+ "String_Node_Str"+ targetBlock.getX()+ "String_Node_Str"+ targetBlock.getY()+ "String_Node_Str"+ targetBlock.getZ());
      getSaves().set("String_Node_Str" + ThisNPC.getName() + "String_Node_Str",blockList);
      saveSaves();
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean onCommand(CommandSender sender,Command cmd,String cmdLabel,String[] args){
  if (args.length < 1) {
    sender.sendMessage(ChatColor.RED + "String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str") && !(sender instanceof Player)) {
    saveSaves();
    sender.sendMessage("String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str") && !(sender instanceof Player)) {
    reloadConfig();
    reloadScripts();
    reloadAssignments();
    reloadSaves();
    Denizen.scriptEngine.buildLocationTriggerList();
    sender.sendMessage("String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str") && !(sender instanceof Player)) {
    sender.sendMessage(ChatColor.GREEN + denizenVersion);
    return true;
  }
  if (!(sender instanceof Player)) {
    sender.sendMessage("String_Node_Str");
    return true;
  }
  Player player=(Player)sender;
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    player.sendMessage("String_Node_Str" + player.getTargetBlock(null,20).getData());
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    Block toAddData=player.getTargetBlock(null,20);
    toAddData.setData((byte)(toAddData.getData() + 1));
    player.sendMessage("String_Node_Str" + player.getTargetBlock(null,20).getData());
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    Block toAddData=player.getTargetBlock(null,20);
    toAddData.setData((byte)(toAddData.getData() - 1));
    player.sendMessage("String_Node_Str" + player.getTargetBlock(null,20).getData());
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length == 1) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
    }
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (!Denizen.DebugMode) {
      DebugMode=true;
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 else     if (Denizen.DebugMode) {
      DebugMode=false;
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    saveSaves();
    player.sendMessage(ChatColor.GREEN + "String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    reloadSaves();
    reloadConfig();
    reloadScripts();
    reloadAssignments();
    player.sendMessage(ChatColor.GREEN + "String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    player.sendMessage(ChatColor.GREEN + denizenVersion);
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    scriptEngine.scheduleScripts();
    player.sendMessage("String_Node_Str");
    return true;
  }
  if (player.getMetadata("String_Node_Str").isEmpty()) {
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    return true;
  }
  NPC ThisNPC=CitizensAPI.getNPCRegistry().getNPC(player.getMetadata("String_Node_Str").get(0).asInt());
  if (ThisNPC.getCharacter() == null || !ThisNPC.getCharacter().getName().equals("String_Node_Str")) {
    player.sendMessage(ChatColor.RED + "String_Node_Str");
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      getSaves().set("String_Node_Str" + ThisNPC.getName() + "String_Node_Str",null);
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 else {
      getSaves().set("String_Node_Str" + ThisNPC.getName() + "String_Node_Str",args[1]);
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 3) {
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      List<String> locationList=getSaves().getStringList("String_Node_Str" + ThisNPC.getName() + "String_Node_Str");
      locationList.add(args[2] + "String_Node_Str" + player.getWorld().getName()+ "String_Node_Str"+ player.getLocation().getX()+ "String_Node_Str"+ player.getLocation().getY()+ "String_Node_Str"+ player.getLocation().getZ()+ "String_Node_Str"+ player.getLocation().getYaw()+ "String_Node_Str"+ player.getLocation().getPitch());
      getSaves().set("String_Node_Str" + ThisNPC.getName() + "String_Node_Str",locationList);
      saveSaves();
      Denizen.scriptEngine.buildLocationTriggerList();
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
 else     if (args[1].equalsIgnoreCase("String_Node_Str")) {
      List<String> blockList=getSaves().getStringList("String_Node_Str" + ThisNPC.getName() + "String_Node_Str");
      Block targetBlock=player.getTargetBlock(null,6);
      blockList.add(args[2] + "String_Node_Str" + player.getWorld().getName()+ "String_Node_Str"+ targetBlock.getX()+ "String_Node_Str"+ targetBlock.getY()+ "String_Node_Str"+ targetBlock.getZ());
      getSaves().set("String_Node_Str" + ThisNPC.getName() + "String_Node_Str",blockList);
      saveSaves();
      player.sendMessage(ChatColor.GOLD + "String_Node_Str");
      return true;
    }
  }
  return true;
}