mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-10 15:59:39 +00:00
Human: remove dead function
This commit is contained in:
parent
cf85857660
commit
ced89add3c
@ -59,10 +59,8 @@ use pocketmine\world\World;
|
|||||||
use function array_filter;
|
use function array_filter;
|
||||||
use function array_merge;
|
use function array_merge;
|
||||||
use function array_values;
|
use function array_values;
|
||||||
use function in_array;
|
|
||||||
use function min;
|
use function min;
|
||||||
use function random_int;
|
use function random_int;
|
||||||
use function strlen;
|
|
||||||
|
|
||||||
class Human extends Living implements ProjectileSource, InventoryHolder{
|
class Human extends Living implements ProjectileSource, InventoryHolder{
|
||||||
|
|
||||||
@ -114,15 +112,6 @@ class Human extends Living implements ProjectileSource, InventoryHolder{
|
|||||||
parent::__construct($world, $nbt);
|
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{
|
public function getUniqueId() : UUID{
|
||||||
return $this->uuid;
|
return $this->uuid;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user