private void exportInventory(CompoundTag tag)
	{
		List<Tag> list = new ArrayList<Tag>();
		
		for (byte i = 0; i < Inventory.length; i++)
		{
			if (Inventory[i] == null)
				continue;
			
			Tag t = Tag.fromNBTTag(CraftItemStack.asNMSCopy(Inventory[i]).save(new NBTTagCompound()));
			
			((CompoundTag) t).getValue().put("Slot", new ByteTag(i));
			
			if (t != null)
				list.add(t);
		}
		
		for (byte i = 0; i < Armor.length; i++)
		{
			if (Armor[i] == null)
				continue;
			
			Tag t = Tag.fromNBTTag(CraftItemStack.asNMSCopy(Armor[i]).save(new NBTTagCompound()));
			
			((CompoundTag) t).getValue().put("Slot", new ByteTag((byte) (i + 100)));
			
			if (t != null)
				list.add(t);
		}
		
		tag.getValue().put("Inventory", new ListTag(CompoundTag.class ,list));
	}