From 494f8e82516b66da2416692afa90023c69db5f71 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 11 Dec 2019 22:39:40 +0000 Subject: [PATCH] login: fixed missing base64_decode() for animation images --- src/pocketmine/Player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 52dcb3994a..3867e9aa15 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -1921,7 +1921,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ $animations = []; foreach($packet->clientData["AnimatedImageData"] as $animation){ - $animations[] = new SkinAnimation(new SkinImage($animation["ImageHeight"], $animation["ImageWidth"], $animation["Image"]), $animation["Type"], $animation["Frames"]); + $animations[] = new SkinAnimation(new SkinImage($animation["ImageHeight"], $animation["ImageWidth"], base64_decode($animation["Image"], true)), $animation["Type"], $animation["Frames"]); } $skinData = new SkinData(