public void setInventoryFromString(String text)
	{
		ItemStack items[];
		try {
			items = SerializationUtil.loadInventory(text);
		} catch (InvalidConfigurationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			return;
		}
		if(items == null)
		{
			return;
		}
		for (ItemStack item : items)
		{
			if(item != null)
			{
				this.inv.addItem(item);
			}
		}
	}