FIXED: support 64x32 + 64x64 skins with fallback for failed skin URL

This commit is contained in:
2026-03-20 21:47:53 +01:00
parent ac60559a22
commit 753fdbe701
6 changed files with 58 additions and 45 deletions

View File

@@ -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