mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-20 20:48:06 +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\SingletonTrait;
|
||||||
use pocketmine\utils\Utils;
|
use pocketmine\utils\Utils;
|
||||||
use pocketmine\world\World;
|
use pocketmine\world\World;
|
||||||
use function array_keys;
|
|
||||||
use function count;
|
use function count;
|
||||||
use function in_array;
|
use function in_array;
|
||||||
use function reset;
|
use function reset;
|
||||||
@ -224,16 +223,6 @@ final class EntityFactory{
|
|||||||
$this->saveNames[$className] = $saveNames;
|
$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.
|
* Returns a new runtime entity ID for a new entity.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user