Program: 86049
Project: 86049
Buggy source:
/** 
 * Handles the default commands needed for arena management.
 * @param uber_permission Main setup permission. Example: Skywars.setup
 * @param cmd The command. Example: /sw
 * @param sender
 * @param args
 * @return
 */
public boolean handleArgs(JavaPlugin plugin,String uber_permission,String cmd,CommandSender sender,String args[]){
  if (args.length > 0) {
    if (!(sender instanceof Player)) {
      sender.sendMessage("String_Node_Str");
      return true;
    }
    Player p=(Player)sender;
    PluginInstance pli=MinigamesAPI.getAPI().getPluginInstance(plugin);
    String action=args[0];
    if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setSpawn(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setSpecSpawn(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setLobby(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setMainLobby(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setBounds(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setLobbyBounds(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setSpecBounds(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str") || action.equalsIgnoreCase("String_Node_Str")) {
      return this.saveArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setMaxPlayers(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setMinPlayers(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str") || action.equalsIgnoreCase("String_Node_Str")) {
      return this.setArenaVIP(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.joinArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.leaveArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.startArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.stopArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.stopAllArenas(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.removeArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.removeSpawn(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setSkull(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setEnabled(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setShowScoreboard(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.resetArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setAuthor(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setDescription(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setArenaDisplayName(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setKit(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.spectate(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.openShop(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str") || action.equalsIgnoreCase("String_Node_Str")) {
      return this.getLeaderboards(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.getStats(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      sendHelp(cmd,sender);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      sender.sendMessage(ChatColor.DARK_GRAY + "String_Node_Str" + ChatColor.BLUE+ "String_Node_Str"+ ChatColor.DARK_GRAY+ "String_Node_Str");
      for (      Arena a : pli.getArenas()) {
        if (args.length > 1) {
          sender.sendMessage(ChatColor.GREEN + a.getInternalName() + "String_Node_Str"+ a.getClass().getSimpleName().toString()+ "String_Node_Str");
        }
 else {
          sender.sendMessage(ChatColor.GREEN + a.getInternalName());
        }
      }
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      plugin.reloadConfig();
      pli.getMessagesConfig().reloadConfig();
      pli.getArenasConfig().reloadConfig();
      pli.getClassesConfig().reloadConfig();
      pli.getAchievementsConfig().reloadConfig();
      pli.getStatsConfig().reloadConfig();
      pli.getShopConfig().reloadConfig();
      pli.getMessagesConfig().init();
      pli.reloadVariables();
      pli.getRewardsInstance().reloadVariables();
      try {
        pli.reloadAllArenas();
      }
 catch (      Exception e) {
        System.out.println("String_Node_Str" + e.getMessage());
      }
      sender.sendMessage(pli.getMessagesConfig().successfully_reloaded);
    }
 else {
      boolean cont=false;
      ArrayList<String> cmds=new ArrayList<String>();
      for (      String cmd_ : cmddesc.keySet()) {
        if (cmd_.toLowerCase().contains(action.toLowerCase())) {
          cmds.add(cmd_);
          cont=true;
        }
      }
      if (cont) {
        sendHelp(cmd,sender);
        for (        String cmd_ : cmds) {
          sender.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.DARK_RED+ cmd+ "String_Node_Str"+ cmd_+ ChatColor.RED+ "String_Node_Str");
        }
      }
    }
  }
 else {
    sendHelp(cmd,sender);
  }
  return true;
}

Fixed version (ground truth):
/** 
 * Handles the default commands needed for arena management.
 * @param uber_permission Main setup permission. Example: Skywars.setup
 * @param cmd The command. Example: /sw
 * @param sender
 * @param args
 * @return
 */
public boolean handleArgs(JavaPlugin plugin,String uber_permission,String cmd,CommandSender sender,String args[]){
  if (args.length > 0) {
    if (!(sender instanceof Player)) {
      sender.sendMessage("String_Node_Str");
      return true;
    }
    Player p=(Player)sender;
    PluginInstance pli=MinigamesAPI.getAPI().getPluginInstance(plugin);
    String action=args[0];
    if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setSpawn(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setSpecSpawn(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setLobby(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setMainLobby(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setBounds(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setLobbyBounds(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setSpecBounds(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str") || action.equalsIgnoreCase("String_Node_Str")) {
      return this.saveArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setMaxPlayers(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setMinPlayers(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str") || action.equalsIgnoreCase("String_Node_Str")) {
      return this.setArenaVIP(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.joinArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.leaveArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.startArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.stopArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.stopAllArenas(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.removeArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.removeSpawn(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setSkull(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setEnabled(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setShowScoreboard(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.resetArena(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setAuthor(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setDescription(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setArenaDisplayName(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.setKit(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.spectate(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.openShop(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str") || action.equalsIgnoreCase("String_Node_Str")) {
      return this.getLeaderboards(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      return this.getStats(pli,sender,args,uber_permission,cmd,action,plugin,p);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      sendHelp(cmd,sender);
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      sender.sendMessage(ChatColor.DARK_GRAY + "String_Node_Str" + ChatColor.BLUE+ "String_Node_Str"+ ChatColor.DARK_GRAY+ "String_Node_Str");
      for (      Arena a : pli.getArenas()) {
        if (args.length > 1) {
          sender.sendMessage(ChatColor.GREEN + a.getInternalName() + "String_Node_Str"+ a.getClass().getSimpleName().toString()+ "String_Node_Str");
        }
 else {
          sender.sendMessage(ChatColor.GREEN + a.getInternalName());
        }
      }
    }
 else     if (action.equalsIgnoreCase("String_Node_Str")) {
      plugin.reloadConfig();
      pli.getMessagesConfig().reloadConfig();
      pli.getArenasConfig().reloadConfig();
      pli.getClassesConfig().reloadConfig();
      pli.getAchievementsConfig().reloadConfig();
      pli.getStatsConfig().reloadConfig();
      pli.getShopConfig().reloadConfig();
      pli.getMessagesConfig().init();
      pli.reloadVariables();
      pli.getRewardsInstance().reloadVariables();
      pli.getStatsInstance().reloadVariables();
      try {
        pli.reloadAllArenas();
      }
 catch (      Exception e) {
        System.out.println("String_Node_Str" + e.getMessage());
      }
      sender.sendMessage(pli.getMessagesConfig().successfully_reloaded);
    }
 else {
      boolean cont=false;
      ArrayList<String> cmds=new ArrayList<String>();
      for (      String cmd_ : cmddesc.keySet()) {
        if (cmd_.toLowerCase().contains(action.toLowerCase())) {
          cmds.add(cmd_);
          cont=true;
        }
      }
      if (cont) {
        sendHelp(cmd,sender);
        for (        String cmd_ : cmds) {
          sender.sendMessage(ChatColor.RED + "String_Node_Str" + ChatColor.DARK_RED+ cmd+ "String_Node_Str"+ cmd_+ ChatColor.RED+ "String_Node_Str");
        }
      }
    }
  }
 else {
    sendHelp(cmd,sender);
  }
  return true;
}