diff --git a/src/entity/Human.php b/src/entity/Human.php index 36762dcdf..2e5e7756e 100644 --- a/src/entity/Human.php +++ b/src/entity/Human.php @@ -59,10 +59,8 @@ use pocketmine\world\World; use function array_filter; use function array_merge; use function array_values; -use function in_array; use function min; use function random_int; -use function strlen; class Human extends Living implements ProjectileSource, InventoryHolder{ @@ -114,15 +112,6 @@ class Human extends Living implements ProjectileSource, InventoryHolder{ parent::__construct($world, $nbt); } - /** - * @deprecated - * - * Checks the length of a supplied skin bitmap and returns whether the length is valid. - */ - public static function isValidSkin(string $skin) : bool{ - return in_array(strlen($skin), Skin::ACCEPTED_SKIN_SIZES, true); - } - public function getUniqueId() : UUID{ return $this->uuid; }