menu
#4531966 Call to a member function scorehudAddon() on null

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Indirect
Report date: 2020-09-16 13:30:41 +0000 UTC

System Information

PHP version: 7.3.22
Operating system: win
System banner: Windows NT HOME-PC 6.3 build 9600 (Windows 8.1 Professional Edition) AMD64

Error information

Warning: the ScoreHud plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Call to a member function scorehudAddon() on null
File: F:/MINDUSTRY.RU/MinecraftPE/plugin_data/ScoreHud/addons/BravoClanAddon
Line: #30
Error level: Error
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
            $this->BravoClan = $this->getServer()->getPluginManager()->getPlugin("BravoClan");
}

/**
* @param Player $player
* @return array
*/
public function getProcessedTags(Player $player): array{
return [
"{clan}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan"),
"{clan_xp}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_xp"),
"{clan_next_lvl}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_next_lvl"),
"{clan_kills}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_kills"),
"{clan_deaths}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_deaths"),
"{clan_members}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_members"),
"{clan_max_members}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "clan_max_members"),
"{member_kills}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "member_kills"),
"{member_deaths}" => $this->BravoClan->scorehudAddon(strtolower($player->getName()), "member_deaths"),
];
}
#0 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(229): JackMD\ScoreHud\Addons\BravoClanAddon->getProcessedTags(object pocketmine\Player)
#1 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(264): JackMD\ScoreHud\ScoreHud->process(object pocketmine\Player, string[29] ...... ............: {money}$)
#2 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(208): JackMD\ScoreHud\ScoreHud->displayDefaultScoreboard(object pocketmine\Player)
#3 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(171): JackMD\ScoreHud\ScoreHud->updateScore(object pocketmine\Player)
#4 plugins/ScoreHud.phar/src/JackMD/ScoreHud/task/ScoreUpdateTask(77): JackMD\ScoreHud\ScoreHud->addScore(object pocketmine\Player, string[30] ..l..a...... ..d..............)
#5 src/pocketmine/scheduler/TaskHandler(137): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 11073)
#6 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 11073)
#7 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 11073)
#8 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 11073)
#9 src/pocketmine/Server(2154): pocketmine\Server->tick()
#10 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1588): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[28] F:\MINDUSTRY.RU\MinecraftPE\, string[36] F:\MINDUSTRY.RU\MinecraftPE\plugins\)
#13 src/pocketmine/PocketMine(304): pocketmine\server()
#14 (11): require(string[83] phar://F:/MINDUSTRY.RU/MinecraftPE/PocketMine-MP.phar/src/pocketmine/PocketMine.)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies