mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-15 09:43:52 +00:00
Always send skin metadata even if no additional boxes are available
This commit is contained in:
parent
0c963335a0
commit
bb5fa50615
2 changed files with 2 additions and 16 deletions
|
|
@ -885,14 +885,7 @@ void PlayerConnection::handleTextureAndGeometry(shared_ptr<TextureAndGeometryPac
|
|||
|
||||
if(pDLCSkinFile)
|
||||
{
|
||||
if(pDLCSkinFile->getAdditionalBoxesCount()!=0)
|
||||
{
|
||||
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwTextureBytes, pDLCSkinFile));
|
||||
}
|
||||
else
|
||||
{
|
||||
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwTextureBytes));
|
||||
}
|
||||
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwTextureBytes, pDLCSkinFile));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue