menu
#3977203 Call to undefined method GiantQuartz\SkyBlock\session\Session::hasIsle()

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Indirect
Report date: 2020-03-24 21:25:21 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux 101e201c-2b7d-4da0-af4a-d52f3ece55c9 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64

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 GiantQuartz\SkyBlock\session\Session::hasIsle()
File: /home/container/plugin_data/ScoreHud/addons/SkyBlockAddon
Line: #48
Error level: Error
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
		}

/**
* @param Player $player
* @return string
*/
public function getIsleState(Player $player){
$session = $this->skyBlock->getSessionManager()->getSession($player);

if((is_null($session)) || (!$session->hasIsle())){
return "No Island";
}

$isle = $session->getIsle();

return $isle->isLocked() ? "Locked" : "Unlocked";
}

/**
* @param Player $player
#0 /home/container/plugin_data/ScoreHud/addons/SkyBlockAddon(33): JackMD\ScoreHud\Addons\SkyBlockAddon->getIsleState(object pocketmine\Player)
#1 plugins/ScoreHud-0.phar/src/JackMD/ScoreHud/ScoreHud(229): JackMD\ScoreHud\Addons\SkyBlockAddon->getProcessedTags(object pocketmine\Player)
#2 plugins/ScoreHud-0.phar/src/JackMD/ScoreHud/ScoreHud(199): JackMD\ScoreHud\ScoreHud->process(object pocketmine\Player, string[12] ..6Name..7: )
#3 plugins/ScoreHud-0.phar/src/JackMD/ScoreHud/ScoreHud(171): JackMD\ScoreHud\ScoreHud->updateScore(object pocketmine\Player)
#4 plugins/ScoreHud-0.phar/src/JackMD/ScoreHud/task/ScoreUpdateTask(77): JackMD\ScoreHud\ScoreHud->addScore(object pocketmine\Player, string[22] ..l..eFantasy ..6Games)
#5 src/pocketmine/scheduler/TaskHandler(169): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 601)
#6 src/pocketmine/scheduler/TaskScheduler(206): pocketmine\scheduler\TaskHandler->run(integer 601)
#7 src/pocketmine/plugin/PluginManager(703): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 601)
#8 src/pocketmine/Server(2670): pocketmine\plugin\PluginManager->tickSchedulers(integer 601)
#9 src/pocketmine/Server(2403): pocketmine\Server->tick()
#10 src/pocketmine/Server(2250): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1811): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#13 src/pocketmine/PocketMine(297): pocketmine\server()
#14 (1): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show