menu
#2822740 Call to a member function getServer() on null

Submitted by PocketMine-MP 3.9.4

General information

Version: 3.9.4
Git commit: 1be6783c
Plugin involvement: Indirect
Report date: 2019-09-10 22:58:29 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux 383f657df66f 4.4.0-154-generic #181-Ubuntu SMP Tue Jun 25 05:29:03 UTC 2019 x86_64

Error information

Warning: the PlayerHead 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 getServer() on null
File: src/pocketmine/event/entity/EntityDamageByEntityEvent
Line: #72
Error level: Error
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
		}
}

/**
* Returns the attacking entity, or null if the attacker has been killed or closed.
*
* @return Entity|null
*/
public function getDamager() : ?Entity{
return $this->getEntity()->getLevel()->getServer()->findEntity($this->damagerEntityId);
}

/**
* @return float
*/
public function getKnockBack() : float{
return $this->knockBack;
}

/**
#0 plugins/PlayerHead.phar/src/Enes5519/PlayerHead/entities/HeadEntity(57): pocketmine\event\entity\EntityDamageByEntityEvent->getDamager()
#1 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/walking/Spider(57): Enes5519\PlayerHead\entities\HeadEntity->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
#2 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(72): revivalpmmp\pureentities\entity\monster\walking\Spider->attackEntity(object Enes5519\PlayerHead\entities\HeadEntity)
#3 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(198): revivalpmmp\pureentities\entity\monster\WalkingMonster->checkAndAttackEntity(object Enes5519\PlayerHead\entities\HeadEntity)
#4 src/pocketmine/level/Level(853): revivalpmmp\pureentities\entity\monster\WalkingMonster->onUpdate(integer 10696)
#5 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 10696)
#6 src/pocketmine/Server(2445): pocketmine\level\Level->doTick(integer 10696)
#7 src/pocketmine/Server(2576): pocketmine\Server->checkTickUpdates(integer 10696, double 1568156309.8241)
#8 src/pocketmine/Server(2345): pocketmine\Server->tick()
#9 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1784): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#12 src/pocketmine/PocketMine(299): pocketmine\server()
#13 (1): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show