PM4 NameSpaceRemover крашит при входе

PocketMine-MP Crash Dump Sun May 22 12:13:25 WIB 2022

Error: Class “pocketmine\Player” not found
File: plugins/NameSpaceRemover_v1.0.0/src/JackMD/NameSpaceRemover/CustomPlayer
Line: 40
Type: Error

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: NameSpaceRemover

Code:
[31] * along with this program. If not, see
[32] * https://opensource.org/licenses/GPL-4.0.
[33] * ------------------------------------------------------------------------
[34] /
[35]
[36] namespace JackMD\NameSpaceRemover;
[37]
[38] use pocketmine\Player;
[39]
[40] class CustomPlayer extends Player{
[41]
[42] /
*
[43] * Returns the name of the player replacing the spaces in players name.
[44] *
[45] * @return string
[46] */
[47] public function getName(): string{
[48] $username = $this->username;
[49]
[50] if($this->hasSpaces($username)){

Backtrace:
#0 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(93): include()
#1 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(83): BaseClassLoader->loadClass(string[36] JackMD\NameSpaceRemover\CustomPlayer)
#2 (): BaseClassLoader->{closure}(string[36] JackMD\NameSpaceRemover\CustomPlayer)
#3 pmsrc/src/utils/Utils(523): class_exists(string[36] JackMD\NameSpaceRemover\CustomPlayer)
#4 pmsrc/src/event/player/PlayerCreationEvent(100): pocketmine\utils\Utils::testValidInstance(string[36] JackMD\NameSpaceRemover\CustomPlayer, string[24] pocketmine\player\Player)
#5 plugins/NameSpaceRemover_v1.0.0/src/JackMD/NameSpaceRemover/Main(53): pocketmine\event\player\PlayerCreationEvent->setPlayerClass(string[36] JackMD\NameSpaceRemover\CustomPlayer)
#6 pmsrc/src/event/RegisteredListener(75): JackMD\NameSpaceRemover\Main->onPlayerCreation(object pocketmine\event\player\PlayerCreationEvent#100028)
#7 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerCreationEvent#100028)
#8 pmsrc/src/Server(561): pocketmine\event\Event->call()
#9 pmsrc/src/network/mcpe/NetworkSession(228): pocketmine\Server->createPlayer(object pocketmine\network\mcpe\NetworkSession#105621, object pocketmine\player\PlayerInfo#99986, false, NULL )
#10 pmsrc/src/network/mcpe/NetworkSession(689): pocketmine\network\mcpe\NetworkSession->createPlayer()
#11 pmsrc/src/network/mcpe/handler/ResourcePacksPacketHandler(142): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe{closure}()
#12 pmsrc/vendor/pocketmine/bedrock-protocol/src/ResourcePackClientResponsePacket(61): pocketmine\network\mcpe\handler\ResourcePacksPacketHandler->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#100035)
#13 pmsrc/src/network/mcpe/NetworkSession(395): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(object pocketmine\network\mcpe\handler\ResourcePacksPacketHandler#101040)
#14 pmsrc/src/network/mcpe/NetworkSession(358): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#100035, string[4] …)
#15 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[7] c.a…)
#16 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[16] .{…s…T…U…z.)
#17 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#101647)
#18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib{closure}()
#19 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#20 pmsrc/src/Server(1660): pocketmine\snooze\SleeperHandler->sleepUntil(double 1653196405.038)
#21 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor()
#22 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[6] /home/, string[14] /home/plugins/)
#23 pmsrc/src/PocketMine(327): pocketmine\server()
#24 pmsrc(11): require(string[50] phar:///home/PocketMine-MP.phar/src/PocketMine.php)

https://apidoc.pmmp.io/d0/d6f/classpocketmine_1_1player_1_1_player.html

в пм4 изменился неймспейс, класс переместили в папку player

Кринж