diff --git a/src/pocketmine/entity/Skin.php b/src/pocketmine/entity/Skin.php index d6fd9d3fe..f52699a0c 100644 --- a/src/pocketmine/entity/Skin.php +++ b/src/pocketmine/entity/Skin.php @@ -47,7 +47,7 @@ class Skin{ public function isValid() : bool{ return ( $this->skinId !== "" and - (($s = strlen($this->skinData)) === 16384 or $s === 8192) and + (($s = strlen($this->skinData)) === 16384 or $s === 8192 or $s === 65536) and ($this->capeData === "" or strlen($this->capeData) === 8192) ); }