menu
#3975935 Call to a member function broadcastPacketToViewers() on null

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Indirect
Report date: 2020-03-24 14:05:31 +0000 UTC

System Information

PHP version: 7.2.21
Operating system: linux
System banner: Linux 20197d6a-c0f9-4d14-8a6f-be832611470e 4.9.0-7-amd64 #1 SMP Debian 4.9.110-1 (2018-07-05) x86_64

Error information

Warning: the PiggyCustomEnchants plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Call to a member function broadcastPacketToViewers() on null
File: src/pocketmine/entity/Entity
Line: #1267
Error level: Error
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277

$this->level->broadcastPacketToViewers($this, $pk);
}

protected function broadcastMotion() : void{
$pk = new SetActorMotionPacket();
$pk->entityRuntimeId = $this->id;
$pk->motion = $this->getMotion();

$this->level->broadcastPacketToViewers($this, $pk);
}

protected function applyDragBeforeGravity() : bool{
return false;
}

protected function applyGravity() : void{
$this->motion->y -= $this->gravity;
}

#0 src/pocketmine/entity/Entity(1235): pocketmine\entity\Entity->broadcastMotion()
#1 src/pocketmine/entity/Entity(1945): pocketmine\entity\Entity->updateMovement()
#2 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/Tasks/GoeyTask(41): pocketmine\entity\Entity->setMotion(object pocketmine\math\Vector3)
#3 src/pocketmine/scheduler/TaskHandler(159): DaPigGuy\PiggyCustomEnchants\Tasks\GoeyTask->onRun(integer 49432)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 49432)
#5 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 49432)
#6 src/pocketmine/Server(2567): pocketmine\plugin\PluginManager->tickSchedulers(integer 49432)
#7 src/pocketmine/Server(2343): pocketmine\Server->tick()
#8 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1785): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#11 src/pocketmine/PocketMine(295): pocketmine\server()
#12 (1): require(string[64] phar:///home/container/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show