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'; };