aboutsummaryrefslogtreecommitdiff
path: root/src/lib/minecraft/inventory.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-23 01:46:53 -0500
committermat <github@matdoes.dev>2022-05-23 01:46:53 -0500
commit537d4ba089f62ca21db5e071b187bc0f2a652faf (patch)
tree3600c25f4f9cd65cfb82bcadc1c316d5907a600f /src/lib/minecraft/inventory.ts
parent6de72dad69ad97e0340ca7c9a394b5f2979765cb (diff)
downloadskyblock-stats-537d4ba089f62ca21db5e071b187bc0f2a652faf.tar.gz
skyblock-stats-537d4ba089f62ca21db5e071b187bc0f2a652faf.tar.bz2
skyblock-stats-537d4ba089f62ca21db5e071b187bc0f2a652faf.zip
Replace crafatar/mc-heads with h.matdoes.dev
Diffstat (limited to 'src/lib/minecraft/inventory.ts')
-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 227ed0c..27ef060 100644
--- a/src/lib/minecraft/inventory.ts
+++ b/src/lib/minecraft/inventory.ts
@@ -128,7 +128,7 @@ export function itemToUrl(item: Item, pack?: skyblockAssets.MatcherFile, headSiz
noNullTexture: true
})
if (textureUrl === null) {
- textureUrl = `https://mc-heads.net/head/${item.headTexture}`
+ textureUrl = `https://h.matdoes.dev/3d/${item.headTexture}.png`
if (headSize)
textureUrl += `/${headSize}`
}