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

Submitted by PocketMine-MP 3.9.5

General information

Version: 3.9.5
Git commit: f0539f48
Plugin involvement: Indirect
Report date: 2019-10-09 22:04:17 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux cdbc9846ddea 4.4.0-157-generic #185-Ubuntu SMP Tue Jul 23 09:17:01 UTC 2019 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 11342)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 11342)
#5 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 11342)
#6 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 11342)
#7 src/pocketmine/Server(2346): pocketmine\Server->tick()
#8 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1784): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#11 src/pocketmine/PocketMine(299): pocketmine\server()
#12 (1): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show