public void setInventoryContents(ItemStack[] contents)
	{
		for (int i = 0; i < Inventory.length; i++)
		{
			if (i < contents.length && contents[i] != null)
				Inventory[i] = contents[i].clone();
			else
				Inventory[i] = null;
		}
	}