From ced89add3cd8740ba4f84a3b4407cd5f6216448f Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 19 Jun 2020 01:13:00 +0100 Subject: [PATCH] Human: remove dead function --- src/entity/Human.php | 11 ----------- 1 file changed, 11 deletions(-) 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; }