menu
#4219529 Class 'pocketmine\network\mcpe\protocol\MoveEntityAbsolutePacket' not found

Submitted by PocketMine-MP 3.12.1

General information

Version: 3.12.1
Git commit: ded45bdd
Plugin involvement: Direct
Report date: 2020-05-23 00:43:25 +0000 UTC

System Information

PHP version: 7.3.16
Operating system: linux
System banner: Linux d0e182c0-1dcf-4fc0-b75e-c07045eba32e 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64

Error information

Warning: the Score plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'pocketmine\network\mcpe\protocol\MoveEntityAbsolutePacket' not found
File: plugins/Scorev2.0 by Mk.phar/src/Score/Score
Line: #145
Error level: Error
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
        	              }
}
}
}

public function onMoving(PlayerMoveEvent $event) {
$player = $event->getPlayer();
foreach ($this->getServer()->getOnlinePlayers() as $p) {
if(isset($this->id[$p->getName()])) {
$pk = new MoveEntityAbsolutePacket();
$pk->entityRuntimeId = $this->id[$p->getName()]["Count"];
$facing = $p->getDirection();
$vec = $p->getSide($facing, - 3);
$pk->position = $vec;
$pk->xRot = $p->pitch;
$pk->yRot = $p->yaw;
$pk->zRot = $p->yaw;
$pk->flags = MoveEntityAbsolutePacket::FLAG_GROUND;
$p->sendDataPacket($pk);
$p->getServer()->broadcastPacket($p->getServer()->getOnlinePlayers(), $pk);
#0 src/pocketmine/plugin/MethodEventExecutor(42): Score\Score->onMoving(object pocketmine\event\player\PlayerMoveEvent)
#1 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object Score\Score, object pocketmine\event\player\PlayerMoveEvent)
#2 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerMoveEvent)
#3 src/pocketmine/Player(1596): pocketmine\event\Event->call()
#4 src/pocketmine/Player(1704): pocketmine\Player->processMovement(integer 1)
#5 src/pocketmine/level/Level(844): pocketmine\Player->onUpdate(integer 269928)
#6 src/pocketmine/level/Level(777): pocketmine\level\Level->actuallyDoTick(integer 269928)
#7 src/pocketmine/Server(2256): pocketmine\level\Level->doTick(integer 269928)
#8 src/pocketmine/Server(2387): pocketmine\Server->checkTickUpdates(integer 269928, double 1590194605.1515)
#9 src/pocketmine/Server(2143): pocketmine\Server->tick()
#10 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1584): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#13 src/pocketmine/PocketMine(295): pocketmine\server()
#14 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show