When the pet dies, the server restarts with the error:
[Server thread/CRITICAL]: Error: "Call to a member function getEntity() on null" (EXCEPTION) in "plugins/BlockPets/src/BlockHorizons/BlockPets/pets/BasePet" at line 616 [20:20:39] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/level/Level(854): BlockHorizons\BlockPets\pets\BasePet->onUpdate(integer 1940) [20:20:39] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 1940) [20:20:39] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 1940) [20:20:39] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 1940, double 1620667239.0756) [20:20:39] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick() [20:20:39] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor() [20:20:39] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start() [20:20:39] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /root/weblox/, string[21] /root/weblox/plugins/) [20:20:39] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/PocketMine(308): pocketmine\server() [20:20:39] [Server thread/CRITICAL]: #9 pmsrc(3): require(string[68] phar:///root/weblox/PocketMine-MP.phar/src/pocketmine/PocketMine.php) [20:20:39] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [20:20:39] [Server thread/EMERGENCY]: Please upload the "/root/weblox/crashdumps/Mon_May_10-20.20.39-MSK_2021.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
When the pet dies, the server restarts with the error:
[Server thread/CRITICAL]: Error: "Call to a member function getEntity() on null" (EXCEPTION) in "plugins/BlockPets/src/BlockHorizons/BlockPets/pets/BasePet" at line 616 [20:20:39] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/level/Level(854): BlockHorizons\BlockPets\pets\BasePet->onUpdate(integer 1940) [20:20:39] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 1940) [20:20:39] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 1940) [20:20:39] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 1940, double 1620667239.0756) [20:20:39] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick() [20:20:39] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor() [20:20:39] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start() [20:20:39] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /root/weblox/, string[21] /root/weblox/plugins/) [20:20:39] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/PocketMine(308): pocketmine\server() [20:20:39] [Server thread/CRITICAL]: #9 pmsrc(3): require(string[68] phar:///root/weblox/PocketMine-MP.phar/src/pocketmine/PocketMine.php) [20:20:39] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [20:20:39] [Server thread/EMERGENCY]: Please upload the "/root/weblox/crashdumps/Mon_May_10-20.20.39-MSK_2021.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.