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

Submitted by PocketMine-MP 3.9.4

General information

Version: 3.9.4
Git commit: 1be6783c
Plugin involvement: Direct
Report date: 2019-11-06 18:32:35 +0000 UTC

System Information

PHP version: 7.3.9
Operating system: linux
System banner: Linux localhost.localdomain 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 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_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 src/pocketmine/entity/Human(867): slapper\entities\SlapperHuman->sendData(array[1], array[1])
#1 plugins/Slapper_1.phar/src/slapper/entities/SlapperHuman(35): pocketmine\entity\Human->sendSpawnPacket(object pocketmine\Player)
#2 src/pocketmine/entity/Entity(2054): slapper\entities\SlapperHuman->sendSpawnPacket(object pocketmine\Player)
#3 src/pocketmine/entity/Human(839): pocketmine\entity\Entity->spawnTo(object pocketmine\Player)
#4 src/pocketmine/Player(1018): pocketmine\entity\Human->spawnTo(object pocketmine\Player)
#5 src/pocketmine/level/Level(2644): pocketmine\Player->sendChunk(integer 6, integer 31, object pocketmine\network\mcpe\protocol\BatchPacket)
#6 src/pocketmine/level/Level(2696): pocketmine\level\Level->sendChunkFromCache(integer 6, integer 31)
#7 src/pocketmine/level/format/io/ChunkRequestTask(76): pocketmine\level\Level->chunkRequestCallback(integer 6, integer 31, object pocketmine\network\mcpe\protocol\BatchPacket)
#8 src/pocketmine/scheduler/AsyncPool(320): pocketmine\level\format\io\ChunkRequestTask->onCompletion(object pocketmine\Server)
#9 src/pocketmine/Server(2573): pocketmine\scheduler\AsyncPool->collectTasks()
#10 src/pocketmine/Server(2345): pocketmine\Server->tick()
#11 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#12 src/pocketmine/Server(1784): pocketmine\Server->start()
#13 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[6] /root/, string[14] /root/plugins/)
#14 src/pocketmine/PocketMine(299): pocketmine\server()
#15 (1): require(string[61] phar:///root/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show