menu
#5776884 xxAROX\Bridge\player\BridgePlayer::LanguageTrait_loadData(): Argument #1 ($packet) must be of type xxAROX\Bridge\player\traits\LoadPlayerPacket, nexusmc\protocol\packets\LoadPlayerPacket given, called in phar:///home/Dev-Cloud/tests/.run/data/.cache/running-servers/lobby-1/plugins/Bridge_v1.0.phar/src/xxAROX/Bridge/player/BridgePlayer.php on line 113

Submitted by PocketMine-MP 4.0.6

General information

Version: 4.0.6
Git commit: f7d25f25
Plugin involvement: Direct
Report date: 2022-01-14 20:54:19 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 23 seconds

System Information

PHP version: 8.0.13
Operating system: linux
System banner: Linux v3769 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64

Error information

Warning: the Bridge plugin was directly involved in this crash. Please contact the plugin author.
Message: xxAROX\Bridge\player\BridgePlayer::LanguageTrait_loadData(): Argument #1 ($packet) must be of type xxAROX\Bridge\player\traits\LoadPlayerPacket, nexusmc\protocol\packets\LoadPlayerPacket given, called in phar:///home/Dev-Cloud/tests/.run/data/.cache/running-servers/lobby-1/plugins/Bridge_v1.0.phar/src/xxAROX/Bridge/player/BridgePlayer.php on line 113
File: plugins/Bridge_v1.0.phar/src/xxAROX/Bridge/player/traits/LanguagePlayerTrait
Line: #34
Error level: TypeError
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
 */
trait LanguagePlayerTrait{
protected Language $language;

/**
* Function loadData
* @param LoadPlayerPacket $packet
* @return void
*/
public function loadData(LoadPlayerPacket $packet): void{
/** @var CorePlayer $this */
$this->language = LanguageManager::getInstance()->getLanguage($packet->data["language"]);
}

/**
* Function getLang
* @return Language
*/
public function getLang(): Language{
return $this->language;
#0 plugins/Bridge_v1.0.phar/src/xxAROX/Bridge/player/BridgePlayer(113): xxAROX\Bridge\player\BridgePlayer->LanguageTrait_loadData(object nexusmc\protocol\packets\LoadPlayerPacket#25217)
#1 plugins/Bridge_v1.0.phar/src/xxAROX/Bridge/network/BridgePacketHandler(36): xxAROX\Bridge\player\BridgePlayer->loadData(object nexusmc\protocol\packets\LoadPlayerPacket#25217)
#2 plugins/Bridge_v1.0.phar/src/xxAROX/Bridge/task/CleanerTask(113): xxAROX\Bridge\network\BridgePacketHandler->LoadPlayerPacket(object nexusmc\protocol\packets\LoadPlayerPacket#25217)
#3 pmsrc/src/scheduler/TaskHandler(117): xxAROX\Bridge\task\CleanerTask->onRun()
#4 pmsrc/src/scheduler/TaskScheduler(141): pocketmine\scheduler\TaskHandler->run()
#5 pmsrc/src/plugin/PluginManager(467): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 451)
#6 pmsrc/src/Server(1765): pocketmine\plugin\PluginManager->tickSchedulers(integer 451)
#7 pmsrc/src/Server(1654): pocketmine\Server->tick()
#8 pmsrc/src/Server(1044): pocketmine\Server->tickProcessor()
#9 pmsrc/src/PocketMine(303): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[63] /home/Dev-Cloud/tests/.run/data/.cache/running-servers/lobby-1/, string[71] /home/Dev-Cloud/tests/.run/data/.cache/running-servers/lobby-1/plugins/)
#10 pmsrc/src/PocketMine(326): pocketmine\server()
#11 pmsrc(11): require(string[76] phar:///home/Dev-Cloud/tests/.run/data/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show