menu
#7304833 Player is not connected.

Submitted by PocketMine-MP 4.6.1

General information

Version: 4.6.1
Git commit: b20e0453
Plugin involvement: Direct
Report date: 2022-08-06 01:43:31 +0000 UTC
Server uptime: 0 days 0 hours 13 minutes 58 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux 1426fd33-030e-49a7-a928-23f9ea5fae7e 4.18.0-372.13.1.el8_6.x86_64 #1 SMP Wed Jun 29 17:21:09 UTC 2022 x86_64

Error information

Warning: the OsmyTheBridge plugin was directly involved in this crash. Please contact the plugin author.
Message: Player is not connected.
File: plugins/OsmyTheBridge2.0.phar/src/SandhyR/TheBridge/libs/jackmd/scorefactory/ScoreFactory
Line: #78
Error level: SandhyR\TheBridge\libs\jackmd\scorefactory\ScoreFactoryException
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
		self::removeObjective($player, false);

$player->getNetworkSession()->sendDataPacket(self::getCache($player)->getObjectivePacket());
}

/**
* Removes the scoreboard from the player specified.
*/
public static function removeObjective(Player $player, bool $removeCache = false): void {
if (!$player->isConnected()) throw new ScoreFactoryException("Player is not connected.");

$objectiveName = self::hasCache($player) ? self::getCache($player)->getObjective() : self::OBJECTIVE_NAME;

$pk = new RemoveObjectivePacket();
$pk->objectiveName = $objectiveName;
$player->getNetworkSession()->sendDataPacket($pk);

if ($removeCache) self::removeCache($player);
}

#0 plugins/OsmyTheBridge2.0.phar/src/SandhyR/TheBridge/command/subcommands/QuitSubCommand(33): SandhyR\TheBridge\libs\jackmd\scorefactory\ScoreFactory::removeObjective(object pocketmine\player\Player#124004)
#1 plugins/OsmyTheBridge2.0.phar/src/SandhyR/TheBridge/libs/CortexPE/Commando/BaseCommand(140): SandhyR\TheBridge\command\subcommands\QuitSubCommand->onRun(object pocketmine\player\Player#124004, string[2] tb, array[0])
#2 pmsrc/src/command/SimpleCommandMap(205): SandhyR\TheBridge\libs\CortexPE\Commando\BaseCommand->execute(object pocketmine\player\Player#124004, string[2] tb, array[0])
#3 pmsrc/src/Server(1446): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#124004, string[7] tb quit)
#4 plugins/OSMYCore v2.2.6.phar/src/osmy/Loader(186): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#124004, string[7] tb quit)
#5 pmsrc/src/event/RegisteredListener(60): osmy\Loader->onQuit(object pocketmine\event\player\PlayerQuitEvent#129417)
#6 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent#129417)
#7 pmsrc/src/player/Player(2100): pocketmine\event\Event->call()
#8 pmsrc/src/network/mcpe/NetworkSession(578): pocketmine\player\Player->onPostDisconnect(string[17] client disconnect, null)
#9 pmsrc/src/network/mcpe/NetworkSession(511): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe\{closure}()
#10 pmsrc/src/network/mcpe/NetworkSession(580): pocketmine\network\mcpe\NetworkSession->tryDisconnect(object Closure#139057, string[17] client disconnect)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(141): pocketmine\network\mcpe\NetworkSession->onClientDisconnect(string[17] client disconnect)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(75): pocketmine\network\mcpe\raklib\RakLibInterface->onClientDisconnect(int 1, string[17] client disconnect)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#31294)
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/src/Server(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1659750211.6088)
#17 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(327): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show