menu
#4532013 Class 'pocketmine\network\mcpe\protocol\PlayerListEntry' not found

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-09-16 13:55:31 +0000 UTC

System Information

PHP version: 7.3.22
Operating system: linux
System banner: Linux f8010af6-e3b8-4c85-8453-348bee350230 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64

Error information

Warning: the Uniland_Plugin plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'pocketmine\network\mcpe\protocol\PlayerListEntry' not found
File: plugins/Uniland_Plugin_v1.16.20.phar/src/Uniland/Extra/Loader
Line: #81
Error level: Error
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	public function onDataReceive(DataPacketSendEvent $event){
$packet = $event->getPacket();
$player = $event->getPlayer();
if($packet instanceof StartGamePacket){
$packet->worldName = $this->getServer()->getDefaultLevel()->getFolderName();
}
}

public function removePlayerList(Player $player, Level $level): void {
$entry = new PlayerListEntry();
$entry->uuid = $player->getUniqueId();

$pk = new PlayerListPacket();
$pk->entries[] = $entry;
$pk->type = PlayerListPacket::TYPE_REMOVE;

foreach($this->getServer()->getLevel($level)->getEntities() as $players){
$players->sendDataPacket($pk);
}
}
#0 plugins/Uniland_Plugin_v1.16.20.phar/src/Uniland/Extra/Loader(116): Uniland\Extra\Loader->removePlayerList(object specter\network\SpecterPlayer, object pocketmine\level\Level)
#1 src/pocketmine/plugin/MethodEventExecutor(42): Uniland\Extra\Loader->onChangeLevel(object pocketmine\event\entity\EntityLevelChangeEvent)
#2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object Uniland\Extra\Loader, object pocketmine\event\entity\EntityLevelChangeEvent)
#3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\entity\EntityLevelChangeEvent)
#4 src/pocketmine/entity/Entity(1899): pocketmine\event\Event->call()
#5 src/pocketmine/Player(964): pocketmine\entity\Entity->switchLevel(object pocketmine\level\Level)
#6 src/pocketmine/entity/Entity(1764): pocketmine\Player->switchLevel(object pocketmine\level\Level)
#7 src/pocketmine/entity/Entity(1789): pocketmine\entity\Entity->setPosition(object pocketmine\level\Position)
#8 src/pocketmine/entity/Entity(1880): pocketmine\entity\Entity->setPositionAndRotation(object pocketmine\level\Position, double 0, double 0)
#9 src/pocketmine/Player(3925): pocketmine\entity\Entity->teleport(object pocketmine\level\Position, NULL , NULL )
#10 plugins/MultiWorld.phar/src/czechpmdevs/multiworld/command/subcommand/TeleportSubcommand(67): pocketmine\Player->teleport(object pocketmine\level\Position)
#11 plugins/MultiWorld.phar/src/czechpmdevs/multiworld/command/MultiWorldCommand(117): czechpmdevs\multiworld\command\subcommand\TeleportSubcommand->executeSub(object specter\network\SpecterPlayer, array[1], string[8] teleport)
#12 src/pocketmine/command/SimpleCommandMap(248): czechpmdevs\multiworld\command\MultiWorldCommand->execute(object specter\network\SpecterPlayer, string[2] mw, array[1])
#13 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object specter\network\SpecterPlayer, string[12] mw tp worlds)
#14 src/pocketmine/Player(2316): pocketmine\Server->dispatchCommand(object specter\network\SpecterPlayer, string[12] mw tp worlds)
#15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(131): pocketmine\Player->chat(string[13] /mw tp worlds)
#16 src/pocketmine/network/mcpe/protocol/TextPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleText(object pocketmine\network\mcpe\protocol\TextPacket)
#17 plugins/Specter_v0.9.phar/src/specter/network/SpecterInterface(303): pocketmine\network\mcpe\protocol\TextPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
#18 plugins/Specter_v0.9.phar/src/specter/network/SpecterInterface(277): specter\network\SpecterInterface->sendPacket(object specter\network\SpecterPlayer, object pocketmine\network\mcpe\protocol\TextPacket)
#19 src/pocketmine/network/Network(109): specter\network\SpecterInterface->process()
#20 src/pocketmine/Server(2387): pocketmine\network\Network->processInterfaces()
#21 src/pocketmine/Server(2154): pocketmine\Server->tick()
#22 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#23 src/pocketmine/Server(1588): pocketmine\Server->start()
#24 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#25 src/pocketmine/PocketMine(304): pocketmine\server()
#26 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies