void addSubcommand(Command command) {
		if(submenus.containsKey(command.getCommand())) {
			boolean allGood = true;
			for(Command cmd : submenus.get(command.getCommand())) {
				if(SubmenuManager.compareStringArr(cmd.getSubcommand(), command.getSubcommand()))
					allGood = false;
			}
			if(allGood)
				submenus.get(command.getCommand()).add(command);
			else
				Bukkit.getLogger().warning("[CommandHelper] Tried to register a duplicate submenu.");
		} else {
			ArrayList<Command> newList = new ArrayList<Command>();
			newList.add(command);
			submenus.put(command.getCommand(), newList);
		}
	}