menu
#3982245 Class 'pocketmine\network\mcpe\protocol\AddActorPacket' not found

Submitted by PocketMine-MP 3.8.5

General information

Version: 3.8.5
Git commit: 6b090d65
Plugin involvement: Direct
Report date: 2020-03-26 08:12:52 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux c8f362ae0e60 4.4.0-169-generic #198-Ubuntu SMP Tue Nov 12 10:38:00 UTC 2019 x86_64

Error information

Warning: the HalloweenEffects plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'pocketmine\network\mcpe\protocol\AddActorPacket' not found
File: plugins/HalloweenEffects.phar/src/PocketmineSmash/HalloweenEffects/EffectsTask
Line: #136
Error level: Error
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
	{
$pk = new StopSoundPacket();
$pk->soundName = $song;
$pk->stopAll = $all;
$player->dataPacket($pk);
}

public function addStrike(Player $p, Player $players): void
{
$light = new AddActorPacket();
$light->type = 93;
$light->entityRuntimeId = Entity::$entityCount++;
$light->metadata = array();
$light->position = $p->asVector3()->add(0, $height = 0);
$light->yaw = $p->getYaw();
$light->pitch = $p->getPitch();
$players->dataPacket($light);
}
}
#0 plugins/HalloweenEffects.phar/src/PocketmineSmash/HalloweenEffects/EffectsTask(56): PocketmineSmash\HalloweenEffects\EffectsTask->addStrike(object pocketmine\Player, object pocketmine\Player)
#1 src/pocketmine/scheduler/TaskHandler(159): PocketmineSmash\HalloweenEffects\EffectsTask->onRun(integer 1441)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1441)
#3 src/pocketmine/plugin/PluginManager(689): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1441)
#4 src/pocketmine/Server(2569): pocketmine\plugin\PluginManager->tickSchedulers(integer 1441)
#5 src/pocketmine/Server(2345): pocketmine\Server->tick()
#6 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1784): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#9 (1): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show