aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/minecraft/inventory.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/minecraft/inventory.ts b/src/lib/minecraft/inventory.ts
index ec0e193..1d950b8 100644
--- a/src/lib/minecraft/inventory.ts
+++ b/src/lib/minecraft/inventory.ts
@@ -115,7 +115,7 @@ export function itemToUrl(item: Item, pack?: skyblockAssets.MatcherFile, headSiz
}
let textureUrl: string
- const itemCacheIdentifier = `${pack?.dir ?? 'v'} ${JSON.stringify(itemNbt)}`
+ const itemCacheIdentifier = `${pack?.dir ?? 'v'} ${JSON.stringify(item)} ${JSON.stringify(itemNbt)}`
if (itemCacheIdentifier in itemUrlCache)
return itemUrlCache[itemCacheIdentifier]