forked from mirrors/kolyah35-minecraft-pe-0.6.1
FIXED: support 64x32 + 64x64 skins with fallback for failed skin URL
This commit is contained in:
parent
ac60559a22
commit
753fdbe701
6 changed files with 58 additions and 45 deletions
|
|
@ -263,7 +263,8 @@ static void* fetchSkinForPlayer(void* param) {
|
|||
std::vector<unsigned char> skinData;
|
||||
if (!HttpClient::download(skinUrl, skinData) || skinData.empty()) {
|
||||
LOGW("[Skin] download failed for %s\n", skinUrl.c_str());
|
||||
return NULL;
|
||||
player->setTextureName("mob/char.png");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Save to cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue