menu
#3748479 Call to undefined method JackMD\ScoreHud\Addons\FactionsProAddon::getisLeader()

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Indirect
Report date: 2020-02-12 06:03:50 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: win
System banner: Windows NT LAPTOP-FULK7VLV 10.0 build 18362 (Windows 10) 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 undefined method JackMD\ScoreHud\Addons\FactionsProAddon::getisLeader()
File: C:/Users/Brandon/Desktop/PocketMine/PocketMine/PocketMine/plugin_data/ScoreHud/addons/FactionsProAddon
Line: #34
Error level: Error
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

/**
* @param Player $player
* @return array
*/
public function getProcessedTags(Player $player): array{
return [
"{faction}" => $this->getPlayerFaction($player),
"{faction_power}" => $this->getFactionPower($player),
"{faction_leader}" => $this->getisLeader($player)

];
}

/**
* @param Player $player
* @return string
*/
public function getPlayerFaction(Player $player): string{
$factionsPro = $this->factionsPro;
#0 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(229): JackMD\ScoreHud\Addons\FactionsProAddon->getProcessedTags(object JackMD\NameSpaceRemover\CustomPlayer)
#1 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(264): JackMD\ScoreHud\ScoreHud->process(object JackMD\NameSpaceRemover\CustomPlayer, string[23] ..2Player Infortmation)
#2 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(208): JackMD\ScoreHud\ScoreHud->displayDefaultScoreboard(object JackMD\NameSpaceRemover\CustomPlayer)
#3 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(171): JackMD\ScoreHud\ScoreHud->updateScore(object JackMD\NameSpaceRemover\CustomPlayer)
#4 plugins/ScoreHud.phar/src/JackMD/ScoreHud/task/ScoreUpdateTask(77): JackMD\ScoreHud\ScoreHud->addScore(object JackMD\NameSpaceRemover\CustomPlayer, string[20] ..l..aAlien ..2Alien)
#5 src/pocketmine/scheduler/TaskHandler(159): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 36650)
#6 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 36650)
#7 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 36650)
#8 src/pocketmine/Server(2567): pocketmine\plugin\PluginManager->tickSchedulers(integer 36650)
#9 src/pocketmine/Server(2343): pocketmine\Server->tick()
#10 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1785): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[58] C:\Users\Brandon\Desktop\PocketMine\PocketMine\PocketMine\, string[66] C:\Users\Brandon\Desktop\PocketMine\PocketMine\PocketMine\plugins\)
#13 src/pocketmine/PocketMine(295): pocketmine\server()
#14 (1): require(string[113] phar://C:/Users/Brandon/Desktop/PocketMine/PocketMine/PocketMine/Pocketmine-MP.p)

Loaded Plugins

  • Show

Server Settings

  • Show