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(