menu
#4531944 Call to a member function getName() on null

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-09-16 13:16:37 +0000 UTC

System Information

PHP version: 7.3.22
Operating system: linux
System banner: Linux d8082e2b-e0f0-441a-aa83-729e01de5984 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64

Error information

Warning: the BlazinHud plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function getName() on null
File: plugins/BlazinHud-0.phar/src/iiFlamiinBlaze/BlazinHud/HudTask
Line: #60
Error level: Error
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
				"{player}",
], [
"\n",
BlazinHud::getInstance()->getServer()->getMaxPlayers(),
count(BlazinHud::getInstance()->getServer()->getOnlinePlayers()),
"§",
(string)round($this->player->getX()),
(string)round($this->player->getY()),
(string)round($this->player->getZ()),
$this->player->getLevel()->getName(),
BlazinHud::getInstance()->getServer()->getTicksPerSecond(),
BlazinHud::getInstance()->getServer()->getMotd(),
BlazinHud::getInstance()->getServer()->getPluginManager()->getPlugin("EconomyAPI")->getInstance()->myMoney($this->player),
$this->player->getName()
], $hud);
$this->player->sendPopup($hud);
}
}
}
#0 src/pocketmine/scheduler/TaskHandler(137): iiFlamiinBlaze\BlazinHud\HudTask->onRun(integer 3276)
#1 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 3276)
#2 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 3276)
#3 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 3276)
#4 src/pocketmine/Server(2154): pocketmine\Server->tick()
#5 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#6 src/pocketmine/Server(1588): pocketmine\Server->start()
#7 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#8 src/pocketmine/PocketMine(304): pocketmine\server()
#9 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies