menu
#6719201 Call to a member function leaveRunner() on null

Submitted by PocketMine-MP 4.3.2

General information

Version: 4.3.2
Git commit: 755ca1af
Plugin involvement: Direct
Report date: 2022-05-14 08:16:59 +0000 UTC
Server uptime: 0 days 3 hours 54 minutes 14 seconds

System Information

PHP version: 8.0.17
Operating system: linux
System banner: Linux 160-251-23-131 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 x86_64

Error information

Warning: the MuttiServer plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function leaveRunner() on null
File: plugins/MuttiServer_v2.phar/src/MuttiServer/athletic/raceteam/RaceForm
Line: #105
Error level: Error
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
            return;
}

$form = $this->form->createModalForm(function (Player $player, bool $data) {
if (!$data) {
$player->sendMessage("§l§bRace §a》 §fキャンセルしました");
return;
}
$team = ($runner = $this->owner->getRacePlayer($player))->getTeam();
$team->leaveRunner($runner);
});
$form->setTitle("§l§oAthleticRace - " . $team->getName());
$form->setContent(
"§l-+- 《参加中のレース情報》 -+-" .
"\n§l主催者 §a》 §f" . $team->getName() .
"\n§lアスレ名 §a》 §f" . $team->getAthletic()->getName() .
"\n§l最大人数 §a》 §f" . $team->getMaxPlayers() .
"\n§l参加人数 §a》 §f" . $team->getPlayerCount() .
"\n§l-+- -+-+-+-+-+-+-+-+- -+-"
);
#0 plugins/FormAPI_v1.3.0.phar/src/jojoe77777/FormAPI/Form(46): MuttiServer\athletic\raceteam\RaceForm->MuttiServer\athletic\raceteam\{closure}(object MuttiServer\player\MuttiPlayer#238029, true)
#1 pmsrc/src/player/Player(2005): jojoe77777\FormAPI\Form->handleResponse(object MuttiServer\player\MuttiPlayer#238029, true)
#2 pmsrc/src/network/mcpe/handler/InGamePacketHandler(888): pocketmine\player\Player->onFormSubmit(integer 4, true)
#3 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(46): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#436129)
#4 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#378562)
#5 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#436129, string[8] e..true.)
#6 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[11] .Hea-)*M...)
#7 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 65, string[20] .mzK..T..!{.....V. 9)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#96875)
#9 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#11 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652516219.9991)
#12 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#13 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[16] /home/pmmp/pmmp/, string[24] /home/pmmp/pmmp/plugins/)
#14 pmsrc/src/PocketMine(327): pocketmine\server()
#15 pmsrc(11): require(string[60] phar:///home/pmmp/pmmp/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show