menu
#5776952 Class "pocketmine\network\mcpe\protocol\SetEntityDataPacket" not found

Submitted by PocketMine-MP 3.26.5

General information

Version: 3.26.5
Git commit: a4af1609
Plugin involvement: Direct
Report date: 2022-01-14 21:11:03 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 18 seconds

System Information

PHP version: 8.0.13
Operating system: linux
System banner: Linux ip-172-31-60-205 4.19.0-14-arm64 #1 SMP Debian 4.19.171-2 (2021-01-30) aarch64

Error information

Warning: the Slapper plugin was directly involved in this crash. Please contact the plugin author.
Message: Class "pocketmine\network\mcpe\protocol\SetEntityDataPacket" not found
File: plugins/Slapper[91] (1).phar/src/slapper/SlapperTrait
Line: #56
Error level: Error
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

public function sendData($playerList, array $data = null): void {
if(!is_array($playerList)){
$playerList = [$playerList];
}

foreach($playerList as $p){
$playerData = $data ?? $this->getDataPropertyManager()->getAll();
unset($playerData[self::DATA_NAMETAG]);
$pk = new SetEntityDataPacket();
$pk->entityRuntimeId = $this->getId();
$pk->metadata = $playerData;
$p->dataPacket($pk);

$this->sendNameTag($p);
}
}

public function saveSlapperNbt(): void {
$visibility = 0;
#0 pmsrc/src/pocketmine/entity/Human(826): slapper\entities\SlapperHuman->sendData(array[1], array[1])
#1 plugins/Slapper[91] (1).phar/src/slapper/entities/SlapperHuman(35): pocketmine\entity\Human->sendSpawnPacket(object pocketmine\Player)
#2 pmsrc/src/pocketmine/entity/Entity(1963): slapper\entities\SlapperHuman->sendSpawnPacket(object pocketmine\Player)
#3 pmsrc/src/pocketmine/entity/Human(798): pocketmine\entity\Entity->spawnTo(object pocketmine\Player)
#4 pmsrc/src/pocketmine/Player(1025): pocketmine\entity\Human->spawnTo(object pocketmine\Player)
#5 pmsrc/src/pocketmine/level/Level(2490): pocketmine\Player->sendChunk(integer 4, integer -4, object pocketmine\network\mcpe\protocol\BatchPacket)
#6 pmsrc/src/pocketmine/level/Level(2545): pocketmine\level\Level->sendChunkFromCache(integer 4, integer -4)
#7 pmsrc/src/pocketmine/level/format/io/ChunkRequestTask(81): pocketmine\level\Level->chunkRequestCallback(integer 4, integer -4, object pocketmine\network\mcpe\protocol\BatchPacket)
#8 pmsrc/src/pocketmine/scheduler/AsyncPool(319): pocketmine\level\format\io\ChunkRequestTask->onCompletion(object pocketmine\Server)
#9 pmsrc/src/pocketmine/Server(2393): pocketmine\scheduler\AsyncPool->collectTasks()
#10 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#11 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#12 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#13 pmsrc/src/pocketmine/PocketMine(332): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /home/pocket/, string[21] /home/pocket/plugins/)
#14 pmsrc/src/pocketmine/PocketMine(362): pocketmine\server()
#15 pmsrc(11): require(string[68] phar:///home/pocket/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show