message: display ornaments as icon
diff: @@ -4,6 +4,7 @@ import {
  DestinyItemComponent,
  DestinyItemComponentSetOfint64,
  DestinyItemInstanceComponent,
  + DestinyItemType,
  ItemLocation,
  TransferStatuses,
  DestinyAmmunitionType,
  @@ -490,7 +491,7 @@ export function makeItem(
  // Secondary Icon
  if (createdItem.sockets) {
  const multiEmblem = createdItem.sockets.sockets.filter(
  - (plug) => plug.plug && plug.plug.plugItem.itemType === 14
  + (plug) => plug.plug && plug.plug.plugItem.itemType === DestinyItemType.Emblem
  );
  const selectedEmblem = multiEmblem[0] && multiEmblem[0].plug;
  @@ -498,6 +499,21 @@ export function makeItem(
  createdItem.secondaryIcon = selectedEmblem.plugItem.secondaryIcon;
  }
  }
  + // show ornaments - ItemCategory 56 contains "Armor Mods: Ornaments" "Armor Mods: Ornaments/Hunter"
  + // "Armor Mods: Ornaments/Titan" "Armor Mods: Ornaments/Warlock" "Weapon Mods: Ornaments"
  + const defaultOrnaments = [2931483505, 1959648454, 702981643];
  + if (createdItem.sockets) {
  + const pluggedOrnament = createdItem.sockets.sockets.find(
  + (socket) => socket.plug && socket.plug.plugItem.itemCategoryHashes.includes(56)
  + );
  + if (
  + pluggedOrnament &&
  + pluggedOrnament.plug!.plugItem.displayProperties.hasIcon &&
  + !defaultOrnaments.includes(pluggedOrnament.plug!.plugItem.hash)
  + ) {
  + createdItem.icon = pluggedOrnament.plug!.plugItem.displayProperties.icon;
  + }
  + }
  // Infusion
  const tier = itemDef.inventory ? defs.ItemTierType[itemDef.inventory.tierTypeHash] : null;
  