Program: 10380
Project: 10380
Buggy source:
@Command(aliases={"String_Node_Str"},usage="String_Node_Str",desc="String_Node_Str",modifiers={"String_Node_Str"},min=1,max=3,permission="String_Node_Str",flags="String_Node_Str") public void reload(CommandContext args,CommandSender sender,NPC npc) throws CommandException {
  Denizen denizen=(Denizen)plugin.getServer().getPluginManager().getPlugin("String_Node_Str");
  if (args.hasFlag('a')) {
    denizen.reloadSaves();
    denizen.reloadConfig();
    ScriptHelper.resetHadAnError();
    ScriptHelper.reloadScripts();
    Messaging.send(sender,ChatColor.GREEN + "String_Node_Str");
    if (ScriptHelper.getHadAnError()) {
      Messaging.send(sender,ChatColor.RED + "String_Node_Str");
    }
    List<String> events=new ArrayList<String>();
    Map<String,Object> context=new HashMap<String,Object>();
    events.add("String_Node_Str");
    context.put("String_Node_Str",Element.TRUE);
    context.put("String_Node_Str",new Element(sender.getName()));
    context.put("String_Node_Str",new Element(ScriptHelper.getHadAnError()));
    WorldScriptHelper.doEvents(events,null,(sender instanceof Player) ? ((Player)sender) : null,context);
    return;
  }
  if (args.length() > 2) {
    if (args.getString(1).equalsIgnoreCase("String_Node_Str")) {
      denizen.reloadSaves();
      Messaging.send(sender,ChatColor.GREEN + "String_Node_Str");
      return;
    }
 else     if (args.getString(1).equalsIgnoreCase("String_Node_Str")) {
      denizen.reloadConfig();
      Messaging.send(sender,ChatColor.GREEN + "String_Node_Str");
      return;
    }
 else     if (args.getString(1).equalsIgnoreCase("String_Node_Str")) {
      ScriptHelper.resetHadAnError();
      ScriptHelper.reloadScripts();
      Messaging.send(sender,ChatColor.GREEN + "String_Node_Str");
      if (ScriptHelper.getHadAnError()) {
        Messaging.send(sender,ChatColor.RED + "String_Node_Str");
      }
      List<String> events=new ArrayList<String>();
      Map<String,Object> context=new HashMap<String,Object>();
      events.add("String_Node_Str");
      context.put("String_Node_Str",Element.FALSE);
      context.put("String_Node_Str",new Element(ScriptHelper.getHadAnError()));
      context.put("String_Node_Str",new Element(sender.getName()));
      WorldScriptHelper.doEvents(events,null,(sender instanceof Player) ? ((Player)sender) : null,context);
      return;
    }
  }
  Messaging.send(sender,"String_Node_Str");
  Messaging.send(sender,"String_Node_Str");
  Messaging.send(sender,"String_Node_Str");
  Messaging.send(sender,"String_Node_Str");
  Messaging.send(sender,"String_Node_Str");
}

Fixed version (ground truth):
@Command(aliases={"String_Node_Str"},usage="String_Node_Str",desc="String_Node_Str",modifiers={"String_Node_Str"},min=1,max=3,permission="String_Node_Str",flags="String_Node_Str") public void reload(CommandContext args,CommandSender sender,NPC npc) throws CommandException {
  Denizen denizen=(Denizen)plugin.getServer().getPluginManager().getPlugin("String_Node_Str");
  if (args.hasFlag('a')) {
    denizen.reloadSaves();
    denizen.reloadConfig();
    ScriptHelper.resetHadAnError();
    ScriptHelper.reloadScripts();
    Messaging.send(sender,ChatColor.GREEN + "String_Node_Str");
    if (ScriptHelper.getHadAnError()) {
      Messaging.send(sender,ChatColor.RED + "String_Node_Str");
    }
    List<String> events=new ArrayList<String>();
    Map<String,dObject> context=new HashMap<String,dObject>();
    events.add("String_Node_Str");
    context.put("String_Node_Str",Element.TRUE);
    context.put("String_Node_Str",new Element(sender.getName()));
    context.put("String_Node_Str",new Element(ScriptHelper.getHadAnError()));
    WorldScriptHelper.doEvents(events,null,(sender instanceof Player) ? ((Player)sender) : null,context);
    return;
  }
  if (args.length() > 2) {
    if (args.getString(1).equalsIgnoreCase("String_Node_Str")) {
      denizen.reloadSaves();
      Messaging.send(sender,ChatColor.GREEN + "String_Node_Str");
      return;
    }
 else     if (args.getString(1).equalsIgnoreCase("String_Node_Str")) {
      denizen.reloadConfig();
      Messaging.send(sender,ChatColor.GREEN + "String_Node_Str");
      return;
    }
 else     if (args.getString(1).equalsIgnoreCase("String_Node_Str")) {
      ScriptHelper.resetHadAnError();
      ScriptHelper.reloadScripts();
      Messaging.send(sender,ChatColor.GREEN + "String_Node_Str");
      if (ScriptHelper.getHadAnError()) {
        Messaging.send(sender,ChatColor.RED + "String_Node_Str");
      }
      List<String> events=new ArrayList<String>();
      Map<String,dObject> context=new HashMap<String,dObject>();
      events.add("String_Node_Str");
      context.put("String_Node_Str",Element.FALSE);
      context.put("String_Node_Str",new Element(ScriptHelper.getHadAnError()));
      context.put("String_Node_Str",new Element(sender.getName()));
      WorldScriptHelper.doEvents(events,null,(sender instanceof Player) ? ((Player)sender) : null,context);
      return;
    }
  }
  Messaging.send(sender,"String_Node_Str");
  Messaging.send(sender,"String_Node_Str");
  Messaging.send(sender,"String_Node_Str");
  Messaging.send(sender,"String_Node_Str");
  Messaging.send(sender,"String_Node_Str");
}