menu
#4219285 Class 'pocketmine\network\mcpe\protocol\SetEntityDataPacket' not found

Submitted by PocketMine-MP 3.12.2

General information

Version: 3.12.2
Git commit: 9b6b3f50
Plugin involvement: Direct
Report date: 2020-05-22 23:29:08 +0000 UTC

System Information

PHP version: 7.3.16
Operating system: linux
System banner: Linux 28f35f63-6281-4e0e-ac36-d720653af269 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64

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_v1.4.0.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 src/pocketmine/entity/Human(816): slapper\entities\SlapperHuman->sendData(array[1], array[1])
#1 plugins/Slapper_v1.4.0.phar/src/slapper/entities/SlapperHuman(35): pocketmine\entity\Human->sendSpawnPacket(object pocketmine\Player)
#2 src/pocketmine/entity/Entity(1942): slapper\entities\SlapperHuman->sendSpawnPacket(object pocketmine\Player)
#3 src/pocketmine/entity/Human(788): pocketmine\entity\Entity->spawnTo(object pocketmine\Player)
#4 src/pocketmine/Player(979): pocketmine\entity\Human->spawnTo(object pocketmine\Player)
#5 src/pocketmine/level/Level(2489): pocketmine\Player->sendChunk(integer 628, integer 0, object pocketmine\network\mcpe\protocol\BatchPacket)
#6 src/pocketmine/level/Level(2544): pocketmine\level\Level->sendChunkFromCache(integer 628, integer 0)
#7 src/pocketmine/level/format/io/ChunkRequestTask(81): pocketmine\level\Level->chunkRequestCallback(integer 628, integer 0, object pocketmine\network\mcpe\protocol\BatchPacket)
#8 src/pocketmine/scheduler/AsyncPool(304): pocketmine\level\format\io\ChunkRequestTask->onCompletion(object pocketmine\Server)
#9 src/pocketmine/Server(2384): pocketmine\scheduler\AsyncPool->collectTasks()
#10 src/pocketmine/Server(2143): pocketmine\Server->tick()
#11 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#12 src/pocketmine/Server(1584): pocketmine\Server->start()
#13 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#14 src/pocketmine/PocketMine(295): pocketmine\server()
#15 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show