private ItemStack[] importInventory(CompoundTag tag)
	{
		ItemStack[] inv = new ItemStack[36];
		
		for (Tag t : ((ListTag) tag.getValue().get("Inventory")).getValue())
		{
			int slot = ((ByteTag) ((CompoundTag) t).getValue().get("Slot")).getValue();
			if (slot < 36)
			{
				inv[slot] = CraftItemStack.asBukkitCopy(net.minecraft.server.v1_7_R1.ItemStack.createStack(((CompoundTag) t).toNBTTag()));
			}
		}
		
		Inventory = inv;
		return inv;
	}