Human: remove dead function

This commit is contained in:
Dylan K. Taylor 2020-06-19 01:13:00 +01:00
parent cf85857660
commit ced89add3c

View File

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