menu
#3977225 Class 'room17\SkyBlock\session\BaseSession' not found

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:32:49 +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: Class 'room17\SkyBlock\session\BaseSession' not found
File: /home/container/plugin_data/ScoreHud/addons/SkyBlockAddon
Line: #117
Error level: Error
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
		 */
public function getIsleRank(Player $player){
$session = $this->skyBlock->getSessionManager()->getSession($player);

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

switch($session->getRank()){
case SkyBlockSession::RANK_DEFAULT:
return "Member";
case SkyBlockSession::RANK_OFFICER:
return "Officer";
case SkyBlockSession::RANK_LEADER:
return "Leader";
case SkyBlockSession::RANK_FOUNDER:
return "Founder";
}

return "No Rank";
#0 /home/container/plugin_data/ScoreHud/addons/SkyBlockAddon(37): JackMD\ScoreHud\Addons\SkyBlockAddon->getIsleRank(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..6Fantasy ..eGames)
#5 src/pocketmine/scheduler/TaskHandler(169): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 661)
#6 src/pocketmine/scheduler/TaskScheduler(206): pocketmine\scheduler\TaskHandler->run(integer 661)
#7 src/pocketmine/plugin/PluginManager(703): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 661)
#8 src/pocketmine/Server(2670): pocketmine\plugin\PluginManager->tickSchedulers(integer 661)
#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