<commit_before>package io.github.Cnly.Crafter.Crafter.framework.commands;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;

public class CrafterMainCommand extends AbstractCrafterCommand
{
    
    private List<ICrafterCommand> subcommands = new ArrayList<ICrafterCommand>();
    
    public CrafterMainCommand(JavaPlugin jp)
    {
        super.setHelp(ChatColor.AQUA + jp.getDescription().getName() + " "
                + jp.getDescription().getVersion() + " By "
                + jp.getDescription().getAuthors().get(0));
    }
    
    public List<ICrafterCommand> getSubcommands()
    {
        return Collections.unmodifiableList(this.subcommands);
    }
    
    public boolean addSubcommand(ICrafterCommand sub)
    {<commit_msg>Add a constructor for CrafterMainCommand which won't set help automatically<commit_after>package io.github.Cnly.Crafter.Crafter.framework.commands;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;

public class CrafterMainCommand extends AbstractCrafterCommand
{
    
    private List<ICrafterCommand> subcommands = new ArrayList<ICrafterCommand>();
    
    public CrafterMainCommand()
    {
    }
    
    public CrafterMainCommand(JavaPlugin jp)
    {
        super.setHelp(ChatColor.AQUA + jp.getDescription().getName() + " "
                + jp.getDescription().getVersion() + " By "
                + jp.getDescription().getAuthors().get(0));
    }
    
    public List<ICrafterCommand> getSubcommands()
    {
        return Collections.unmodifiableList(this.subcommands);
    }
    
    public boolean addSubcommand(ICrafterCommand sub)
    {
{'fraction_non_alphanumeric': 0.10154173312068049, 'fraction_numerical': 0.001063264221158958, 'mean_word_length': 3.4703087885985746, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3408200', 'n_tokens_mistral': 571, 'n_tokens_neox': 551, 'n_words': 93}