Allow use of 128x128 skins for last beta build (#2123)

This commit is contained in:
Frago9876543210 2018-03-27 14:44:01 +03:00 committed by Dylan K. Taylor
parent 3fe4ebc301
commit 42d04a4418

View File

@ -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)
);
}