From f765fecf2442fd056ceaaae3fb4ecc6ba264e91e Mon Sep 17 00:00:00 2001 From: Vladimir Zagainov Date: Sat, 6 Jun 2026 20:36:19 +0300 Subject: [PATCH] fix: check skin_hash/cape_hash instead of skin/cape in profile JS --- internal/templates/html/profile.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/templates/html/profile.html b/internal/templates/html/profile.html index a28708e..c53b2df 100644 --- a/internal/templates/html/profile.html +++ b/internal/templates/html/profile.html @@ -94,7 +94,7 @@ document.getElementById('profUuid').textContent = data.uuid || savedUuid || '—'; // Skin - if (data.textures && data.textures.skin) { + if (data.textures && data.textures.skin_hash) { const skinImg = document.getElementById('skinImg'); const noSkinMsg = document.getElementById('noSkinMsg'); skinImg.onerror = function() { this.style.display = 'none'; noSkinMsg.style.display = 'block'; }; @@ -106,7 +106,7 @@ } // Cape - if (data.textures && data.textures.cape) { + if (data.textures && data.textures.cape_hash) { const capeImg = document.getElementById('capeImg'); const noCapeMsg = document.getElementById('noCapeMsg'); capeImg.onerror = function() { this.style.display = 'none'; noCapeMsg.style.display = 'block'; };