public void saveReward(int n, ItemStack itemStack)
	{
		if (!getMain().loot.isConfigurationSection("items." + n))
			getMain().loot.createSection("items." + n);

		if (itemStack == null)
			itemStack = new ItemStack(Material.AIR);

		ConfigurationSection data = getMain().loot.getConfigurationSection("items." + n);

		data.set("id", itemStack.getType().name());

		data.set("amount", itemStack.getAmount());
		data.set("data", itemStack.getDurability());
		if (itemStack.hasItemMeta())
		{
			data.set("name", itemStack.getItemMeta().getDisplayName());
			data.set("lore", itemStack.getItemMeta().getLore());
		}
		for (Map.Entry<Enchantment, Integer> enchanmentEntry : itemStack.getEnchantments().entrySet())
			data.set("enchantments", enchanmentEntry.getKey().getName() + ":" + enchanmentEntry.getValue());

		saveLoot();
	}