Use MCHeads instead of Crafatar (#181)
* 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. * Create 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. * Updated remaining Crafatar URLS Changed Crafatar URLS to matching mc-heads url.
This commit is contained in:
@@ -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/${authUser.uuid}/right')`
|
||||
}
|
||||
}
|
||||
user_text.innerHTML = username
|
||||
@@ -1143,4 +1143,4 @@ function loadNews(){
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user