diff --git a/Minecraft.Client/ClientConnection.cpp b/Minecraft.Client/ClientConnection.cpp index a80af5d2..e30e89b4 100644 --- a/Minecraft.Client/ClientConnection.cpp +++ b/Minecraft.Client/ClientConnection.cpp @@ -2705,14 +2705,7 @@ void ClientConnection::handleTextureAndGeometry(shared_ptrgetAdditionalBoxesCount()!=0) - { - send(std::make_shared(packet->textureName, pbData, dwBytes, pDLCSkinFile)); - } - else - { - send(std::make_shared(packet->textureName, pbData, dwBytes)); - } + send(std::make_shared(packet->textureName, pbData, dwBytes, pDLCSkinFile)); } else { diff --git a/Minecraft.Client/PlayerConnection.cpp b/Minecraft.Client/PlayerConnection.cpp index 1fb7c398..d1e1d511 100644 --- a/Minecraft.Client/PlayerConnection.cpp +++ b/Minecraft.Client/PlayerConnection.cpp @@ -885,14 +885,7 @@ void PlayerConnection::handleTextureAndGeometry(shared_ptrgetAdditionalBoxesCount()!=0) - { - send(std::make_shared(packet->textureName, pbData, dwTextureBytes, pDLCSkinFile)); - } - else - { - send(std::make_shared(packet->textureName, pbData, dwTextureBytes)); - } + send(std::make_shared(packet->textureName, pbData, dwTextureBytes, pDLCSkinFile)); } else {