Closed Crypt97 closed 5 years ago
[21:12:54] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\Server::getLevelByName() must be of the type string, null given, called in phar://C:/Users/crypt/Desktop/Altay-master/plugins/SRegionProtector-pmmp_dev-10.phar/src/sergeydertan/sregionprotector/region/flags/flag/RegionTeleportFlag.php on line 32" (EXCEPTION) in "src/pocketmine/Server" at line 1029 [21:12:54] [Server thread/DEBUG]: #0 plugins/SRegionProtector-pmmp_dev-10.phar/src/sergeydertan/sregionprotector/region/flags/flag/RegionTeleportFlag(32): pocketmine\Server->getLevelByName(NULL ) [21:12:54] [Server thread/DEBUG]: #1 plugins/SRegionProtector-pmmp_dev-10.phar/src/sergeydertan/sregionprotector/region/Region(210): sergeydertan\sregionprotector\region\flags\flag\RegionTeleportFlag->getPosition() [21:12:54] [Server thread/DEBUG]: #2 plugins/SRegionProtector-pmmp_dev-10.phar/src/sergeydertan/sregionprotector/command/manage/CopyFlagsCommand(41): sergeydertan\sregionprotector\region\Region->getTeleportFlagPos() [21:12:54] [Server thread/DEBUG]: #3 plugins/SRegionProtector-pmmp_dev-10.phar/src/sergeydertan/sregionprotector/command/RegionCommand(38): sergeydertan\sregionprotector\command\manage\CopyFlagsCommand->execute(object pocketmine\Player, string[9] copyflags, array[2]) [21:12:54] [Server thread/DEBUG]: #4 src/pocketmine/command/SimpleCommandMap(270): sergeydertan\sregionprotector\command\RegionCommand->execute(object pocketmine\Player, string[6] region, array[2]) [21:12:54] [Server thread/DEBUG]: #5 src/pocketmine/Server(2019): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[31] region copyflags nethersp endsp) [21:12:54] [Server thread/DEBUG]: #6 src/pocketmine/Player(2231): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[31] region copyflags nethersp endsp) [21:12:54] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(240): pocketmine\Player->chat(string[32] /region copyflags nethersp endsp) [21:12:54] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket) [21:12:54] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [21:12:54] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket) [21:12:54] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [21:12:54] [Server thread/DEBUG]: #12 src/pocketmine/Player(3124): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [21:12:54] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [21:12:54] [Server thread/DEBUG]: #14 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 46.139.254.142 58183, object raklib\protocol\EncapsulatedPacket, integer 0) [21:12:54] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [21:12:54] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [21:12:54] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() [21:12:54] [Server thread/DEBUG]: #18 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [21:12:54] [Server thread/DEBUG]: #19 src/pocketmine/Server(2338): pocketmine\snooze\SleeperHandler->sleepUntil(double 1560543174.9514) [21:12:54] [Server thread/DEBUG]: #20 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor() [21:12:54] [Server thread/DEBUG]: #21 src/pocketmine/Server(1774): pocketmine\Server->start() [21:12:54] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[36] C:\Users\crypt\Desktop\Altay-master\, string[44] C:\Users\crypt\Desktop\Altay-master\plugins\) [21:12:54] [Server thread/DEBUG]: #23 (1): require(string[90] phar://C:/Users/crypt/Desktop/Altay-master/Altay_v3.8.3.phar/src/pocketmine/Pock)
fixed https://github.com/SergeyDertan/SRegionProtector-pmmp/commit/23b7260e975078e4ad5a82141c53e30828787441