mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-20 12:44:01 +00:00
EntityFactory: remove dead function
This commit is contained in:
parent
954e8e6e6f
commit
6d3750994b
@ -54,7 +54,6 @@ use pocketmine\network\mcpe\protocol\types\entity\EntityLegacyIds;
|
||||
use pocketmine\utils\SingletonTrait;
|
||||
use pocketmine\utils\Utils;
|
||||
use pocketmine\world\World;
|
||||
use function array_keys;
|
||||
use function count;
|
||||
use function in_array;
|
||||
use function reset;
|
||||
@ -224,16 +223,6 @@ final class EntityFactory{
|
||||
$this->saveNames[$className] = $saveNames;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of all registered entity classpaths.
|
||||
*
|
||||
* @return string[]
|
||||
* @return class-string<Entity>[]
|
||||
*/
|
||||
public function getKnownTypes() : array{
|
||||
return array_keys($this->creationFuncs);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a new runtime entity ID for a new entity.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user