Fixed typo in login handler (wrong variable to store persona pieces) (#3422)

This commit is contained in:
Twisted 2020-04-17 14:36:51 +01:00 committed by GitHub
parent a107ad7404
commit f79182852b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1863,7 +1863,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$personaPieces = [];
foreach($packet->clientData["PersonaPieces"] as $piece){
$personaPiece[] = new PersonaSkinPiece($piece["PieceId"], $piece["PieceType"], $piece["PackId"], $piece["IsDefault"], $piece["ProductId"]);
$personaPieces[] = new PersonaSkinPiece($piece["PieceId"], $piece["PieceType"], $piece["PackId"], $piece["IsDefault"], $piece["ProductId"]);
}
$pieceTintColors = [];