menu
#2906989 Return value of pocketmine\entity\Living::getArmorInventory() must be an instance of pocketmine\inventory\ArmorInventory, null returned

Submitted by PocketMine-MP 3.9.5

General information

Version: 3.9.5
Git commit: f0539f48
Plugin involvement: Indirect
Report date: 2019-10-09 18:58:16 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux node631.minecraft.nyc.mcprohosting.com 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64

Error information

Warning: the PureEntitiesX plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Return value of pocketmine\entity\Living::getArmorInventory() must be an instance of pocketmine\inventory\ArmorInventory, null returned
File: src/pocketmine/entity/Living
Line: #450
Error level: TypeError
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
		}

return $result;
}

/**
* @return ArmorInventory
*/
public function getArmorInventory() : ArmorInventory{
return $this->armorInventory;
}

public function setOnFire(int $seconds) : void{
parent::setOnFire($seconds - (int) min($seconds, $seconds * $this->getHighestArmorEnchantmentLevel(Enchantment::FIRE_PROTECTION) * 0.15));
}

/**
* Called prior to EntityDamageEvent execution to apply modifications to the event's damage, such as reduction due
* to effects or armour.
*
#0 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/utils/MobDamageCalculator(83): pocketmine\entity\Living->getArmorInventory()
#1 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/walking/Spider(56): revivalpmmp\pureentities\utils\MobDamageCalculator::calculateFinalDamage(object pocketmine\Player, double 2)
#2 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(72): revivalpmmp\pureentities\entity\monster\walking\Spider->attackEntity(object pocketmine\Player)
#3 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(198): revivalpmmp\pureentities\entity\monster\WalkingMonster->checkAndAttackEntity(object pocketmine\Player)
#4 src/pocketmine/level/Level(853): revivalpmmp\pureentities\entity\monster\WalkingMonster->onUpdate(integer 241914)
#5 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 241914)
#6 src/pocketmine/Server(2446): pocketmine\level\Level->doTick(integer 241914)
#7 src/pocketmine/Server(2577): pocketmine\Server->checkTickUpdates(integer 241914, double 1570647496.6014)
#8 src/pocketmine/Server(2346): pocketmine\Server->tick()
#9 src/pocketmine/Server(2206): 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[43] /home/root/multicraft/servers/server836946/, string[51] /home/root/multicraft/servers/server836946/plugins/)
#12 src/pocketmine/PocketMine(299): pocketmine\server()
#13 (1): require(string[98] phar:///home/root/multicraft/servers/server836946/PocketMine-MP.phar/src/pocketm)

Loaded Plugins

  • Show

Server Settings

  • Show