From 6d3750994b143e41d61f118afeb5c1d961f2825b Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 19 Jun 2020 21:42:38 +0100 Subject: [PATCH] EntityFactory: remove dead function --- src/entity/EntityFactory.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/entity/EntityFactory.php b/src/entity/EntityFactory.php index ef0bbcb2b..a4d9fbfe6 100644 --- a/src/entity/EntityFactory.php +++ b/src/entity/EntityFactory.php @@ -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[] - */ - public function getKnownTypes() : array{ - return array_keys($this->creationFuncs); - } - /** * Returns a new runtime entity ID for a new entity. */