private void SaveItem(UUID ItemID, ref AvatarArchive archive) { InventoryItemBase saveItem = InventoryService.GetItem(UUID.Zero, ItemID); if (saveItem == null) { MainConsole.Instance.Warn("[AvatarArchive]: Could not find item to save: " + ItemID); return; } MainConsole.Instance.Info("[AvatarArchive]: Saving item " + ItemID.ToString()); archive.ItemsMap[ItemID.ToString()] = saveItem.ToOSD(); }