Allow skin geometry name field to be missing

it's not needed, and plugins doing this might want to skip it
This commit is contained in:
Dylan K. Taylor 2017-11-18 12:32:31 +00:00
parent eaba105614
commit e709e3c653

View File

@ -1806,7 +1806,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$packet->clientData["SkinId"], $packet->clientData["SkinId"],
base64_decode($packet->clientData["SkinData"] ?? ""), base64_decode($packet->clientData["SkinData"] ?? ""),
base64_decode($packet->clientData["CapeData"] ?? ""), base64_decode($packet->clientData["CapeData"] ?? ""),
$packet->clientData["SkinGeometryName"], $packet->clientData["SkinGeometryName"] ?? "",
base64_decode($packet->clientData["SkinGeometry"] ?? "") base64_decode($packet->clientData["SkinGeometry"] ?? "")
); );
$skin->debloatGeometryData(); $skin->debloatGeometryData();