diff options
author | mat <github@matdoes.dev> | 2022-05-23 17:18:37 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-05-23 17:18:37 -0500 |
commit | 62981dd3b864e9d4021b51ca7aaa9973c205f0bf (patch) | |
tree | cc3a720cf5cab43ed69b2af69cb0241ea1df0dc4 /src/lib | |
parent | 537d4ba089f62ca21db5e071b187bc0f2a652faf (diff) | |
download | skyblock-stats-62981dd3b864e9d4021b51ca7aaa9973c205f0bf.tar.gz skyblock-stats-62981dd3b864e9d4021b51ca7aaa9973c205f0bf.tar.bz2 skyblock-stats-62981dd3b864e9d4021b51ca7aaa9973c205f0bf.zip |
Update h.matdoes.dev urls
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/minecraft/heads/Head2d.svelte | 2 | ||||
-rw-r--r-- | src/lib/minecraft/heads/Head3d.svelte | 2 | ||||
-rw-r--r-- | src/lib/minecraft/inventory.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/minecraft/heads/Head2d.svelte b/src/lib/minecraft/heads/Head2d.svelte index 258c2e9..1799bed 100644 --- a/src/lib/minecraft/heads/Head2d.svelte +++ b/src/lib/minecraft/heads/Head2d.svelte @@ -7,7 +7,7 @@ loading="lazy" class="head head2d" class:player-head={isPartOfUsername} - src="https://h.matdoes.dev/2d/{player.uuid}.png" + src="https://h.matdoes.dev/2d/{player.uuid}" alt="{player.username}'s face" /> diff --git a/src/lib/minecraft/heads/Head3d.svelte b/src/lib/minecraft/heads/Head3d.svelte index dfb8a47..fdd0686 100644 --- a/src/lib/minecraft/heads/Head3d.svelte +++ b/src/lib/minecraft/heads/Head3d.svelte @@ -7,7 +7,7 @@ loading="lazy" class="head head3d" class:player-head={isPartOfUsername} - src="https://h.matdoes.dev/3d/{player.uuid}.png" + src="https://h.matdoes.dev/3d/{player.uuid}" alt="{player.username}'s head" /> diff --git a/src/lib/minecraft/inventory.ts b/src/lib/minecraft/inventory.ts index 27ef060..9599c35 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://h.matdoes.dev/3d/${item.headTexture}.png` + textureUrl = `https://h.matdoes.dev/3d/${item.headTexture}` if (headSize) textureUrl += `/${headSize}` } |