diff options
Diffstat (limited to 'src/cleaners')
-rw-r--r-- | src/cleaners/skyblock/itemList.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cleaners/skyblock/itemList.ts b/src/cleaners/skyblock/itemList.ts index c0a3e64..3d1cdce 100644 --- a/src/cleaners/skyblock/itemList.ts +++ b/src/cleaners/skyblock/itemList.ts @@ -12,6 +12,7 @@ export interface ItemRequirement { // based on Item from inventory.ts export interface ItemListItem { id: string + headTexture?: string vanillaId: string tier: string | null display: { @@ -41,6 +42,7 @@ function cleanItemListItem(item: typedHypixelApi.SkyBlockItemsResponse['items'][ const vanillaId = item.material.toLowerCase() return { id: item.id, + headTexture: (item.material === 'SKULL_ITEM' && 'skin' in item) ? item.skin : undefined, vanillaId: item.durability ? `${vanillaId}:${item.durability}` : vanillaId, tier: item.tier ?? null, display: { |