public static ItemStack setCustomBlockAmount(ItemStack item, int amount)
	{
		if ((amount <= 0) || (item == null) || (!item.hasItemMeta()))
			return null;
		ItemMeta meta = item.getItemMeta();
		if ((meta == null) || (!meta.hasDisplayName()))
			return item;
		String title = meta.getDisplayName();
		if ((title == null) || (!title.contains(" x ")))
			return item;
		item.setAmount(1);
		String name = title.substring(0, title.indexOf(" x "));
		List<String> desc = meta.getLore();
		ItemStack item2 = item.clone();
		meta.setDisplayName(name + " x " + amount);
		meta.setLore(desc);
		item2.setItemMeta(meta);
		return item2;
	}