Update landing.js

This changes the Skin/Avatar server displayed on the landing page to one that displays the hat layer which then features the skin correctly.
This commit is contained in:
Peter 2021-07-08 23:27:46 +01:00 committed by GitHub
parent 84c13e6972
commit 73136b7b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ function updateSelectedAccount(authUser){
username = authUser.displayName
}
if(authUser.uuid != null){
document.getElementById('avatarContainer').style.backgroundImage = `url('https://crafatar.com/renders/body/${authUser.uuid}')`
document.getElementById('avatarContainer').style.backgroundImage = `url('https://mc-heads.net/body/$npm{authUser.uuid}/right')`
}
}
user_text.innerHTML = username
@ -1143,4 +1143,4 @@ function loadNews(){
})
})
})
}
}