Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

After a player log off while attacked by zombies server crash #379

Closed
TDMidkwhatisxd opened this issue Apr 28, 2020 · 0 comments
Closed

Comments

@TDMidkwhatisxd
Copy link

PocketMine-MP Crash Dump Tue Apr 28 06:56:41 UTC 2020

Error: Return value of pocketmine\entity\Living::getArmorInventory() must be an instance of pocketmine\inventory\ArmorInventory, null returned
File: src/pocketmine/entity/Living
Line: 427
Type: TypeError

A PLUGIN WAS INVOLVED IN THIS CRASH
BAD PLUGIN: PureEntitiesX v0.6.3

Code:
[418] $result = 0;
[419] foreach($this->armorInventory->getContents() as $item){
[420] $result = max($result, $item->getEnchantmentLevel($enchantmentId));
[421] }
[422]
[423] return $result;
[424] }
[425]
[426] public function getArmorInventory() : ArmorInventory{
[427] return $this->armorInventory;
[428] }
[429]
[430] public function setOnFire(int $seconds) : void{
[431] parent::setOnFire($seconds - (int) min($seconds, $seconds * $this->getHighestArmorEnchantmentLevel(Enchantment::FIRE_PROTECTION) * 0.15));
[432] }
[433]
[434] /**
[435] * Called prior to EntityDamageEvent execution to apply modifications to the event's damage, such as reduction due
[436] * to effects or armour.
[437] */

Backtrace:
#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(844): revivalpmmp\pureentities\entity\monster\WalkingMonster->onUpdate(integer 8013)
#5 src/pocketmine/level/Level(777): pocketmine\level\Level->actuallyDoTick(integer 8013)
#6 src/pocketmine/Server(2256): pocketmine\level\Level->doTick(integer 8013)
#7 src/pocketmine/Server(2387): pocketmine\Server->checkTickUpdates(integer 8013, double 1588057001.3037)
#8 src/pocketmine/Server(2143): pocketmine\Server->tick()
#9 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1584): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[6] /root/, string[14] /root/plugins/)
#12 src/pocketmine/PocketMine(296): pocketmine\server()
#13 (11): require(string[61] phar:///root/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

PocketMine-MP version: 3.12.0 [Protocol 390]
Git commit: 77d45bf11674a1360f58e32a14a3b09f423d860c
uname -a: Linux server19021 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64
PHP Version: 7.3.16
Zend version: 3.3.16
OS : Linux, linux

Loaded plugins:
PlayerInfo 2.1.4 by Matthww for API(s) 3.0.0
EconomyAPI 5.7.2 by onebone for API(s) 3.0.0
DevTools 1.14.0 by PocketMine Team for API(s) 3.11.3
MyPlot 1.6.14 by Wiez, Exxarion, jasonwynn10 for API(s) 3.4.0
PECollide 1.1 by saxavlax001 for API(s) 3.0.0
iProtector 3.1.1 by LDX for API(s) 3.0.0
Repair 1.0.1 by JackMD for API(s) 3.0.0
KeepInventory 1.0 by KhoaGamingPro for API(s) 3.0.0
NoFallDamage 1.0 by DeveloperNeb101 for API(s) 3.0.0
AutoClearLagg 3.0.1 by Twisted for API(s) 3.0.0
AntiInstaBreak 0.1.2 by dktapps for API(s) 3.0.0-ALPHA11, 3.0.0-ALPHA12, 3.0.0
PurePerms 1.4.3 by 64FF00 & ProjectInfinity for API(s) 3.0.0
MagicTelePortal 1.3.4 by aliuly for API(s) 3.0.0
WorldProtect 2.3.8 by aliuly for API(s) 3.0.0
PureEntitiesX 0.6.3 by milk0417, RevivalPMMP for API(s) 3.9.0
BlockSniper 3.2.3 by BlockHorizons, Sandertv (@Sandertv), Chris-Prime (@PrimusLV) for API(s) 3.2.0
PureChat 1.4.11 by 64FF00 for API(s) 3.0.0
essentialsTP 1.2.2 by for API(s) 3.0.0
EconomySell 2.0.10 by onebone for API(s) 3.0.0
EconomyShop 2.0.11 by onebone for API(s) 3.0.0
FormAPI 1.3.0 by jojoe77777 for API(s) 3.2.0
EC-TableUI 1.1.1-pre by for API(s) 3.0.0
BasicHUD 1.0.9 by aliuly for API(s) 3.0.0

----------------------REPORT THE DATA BELOW THIS LINE-----------------------

===BEGIN CRASH DUMP===
eNrtO4ty27aWv4Iqma3dEWVRki1bHXfW9ePGt3asjZWmM2UnA5GQhJgkWIC0rHby73vOASiS8qNJ
6nv37kw6bS3icd5PEPyzNVM64fn7W6GNVGlr1Gu3cpmI1sjf3d/v7g67Xb/dirnJT7VWujX6s5Wv
MphuTeCPHWu3EmEMn+PoG5EXOmW3PC4EUzOWqfBG5IlMRRCINJf5Kggu5K1M56PRXORHOlH6PL2F
KaVXW9ssKUzOpoLxlMnU5DwN74GR5fIgaG5vs7SIY6aJBBEBXTN4PpMxEpYtuB7t7OxopfKdMYG7
BHDe5biDUztGhzsVlh1L644lFVZkCM1CemolrIphsDUa9IYgSM1D+P1r60WXZXExB452xoUWp7hF
CvNLhVqLWwlCy5Ik28lgiXBLdopcxmbnUk1PeAIiPuZxWMQc2N3a72+PnpCv98MD8gX6XvhfTItj
NVGgGaF3ljy+AUQ715mMhN7a3QN6anuDoL45CIiTIHiAldEodL/FmUx5bOe31PSDCPMGi+OYr4Ru
s0gV01iwHjHUey6G3lmGLu3j1rD3NEOlvN32IHACCQIrEe8Hnuc8vCGKVo+zQ0z0/0VM+Af7n8lF
E4D3Q7gQ4c1RGh19OjMDtuEksbgV8c4F/n9rfzD4mxSp9G0WgbFsyTQXc6HZftfvE+LdpxAPh8MN
j6FZcBj8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3HkhtXwUPRxZMs
Lp+wBgAana5GpdLsHNgtnvaM2K+UvCF9tun45zcESsV5lSXrLyGIDSyktIxcg12+1aHO+aGERfmc
ErShWpIaM9CPBFpdtq2Tb/ESDfYnw/dAmBRs8qowjtjZxdFk1Pt+2N49uPPb/bt+u/e9/30kQmVD
7Ba+bwwxth7ud20ktk+D3W1b9djz/npfaz0cUwvI2B07UeVB50agtXDF7HdGhS5jclnM6/VBPkUc
gAOZKqQ3MaYUmFe+ZQBbsOXdizMKNYSK1jeAFFQouM+3ayMe1Vqd6oRMZdQKijsIfMb1QeENlsuG
an6QyFRCobqyLTOtQ37pc/TYZhHrM5ZLgg+1iF7H6la7Je5ykRq6RDP6s3UMBUL90xr04vpzLKd3
9DptPQJGkRrTGMrCJhDzOxAp+o1PduwXQ+vnaQil16I+gm+S0ojrxpheZbmia2l9uoEbui/8qxWF
bpACGR6vdXS7fd/v4cv2D8a9ex/SdYiZjHPRwDHLG98WzaPGU9KYXEA6azAKRR6Q3NhyPb5oCBDd
I7JfS/WIh2Rq36nVVyUrkBl91OR+0YdTfg9P75mHX0PtdgfdIfx8eQ6eNAxD+PdgT+wNd2d70bAn
dsNZd9bbG84G+8LfG4Y9Pp32+uwlaSfNGzIan1w1tBep94R1c9CqsbFz0dRPlRjfU9lD3+K5G8Jd
mjfyrrHBnay5W3U+fpbWbmkBakSTnBdWmOX+N2LmzkcaUl8kqqGWa4lh55fLhuAN0WYaxmHczSw0
DDmfypTj9X360AIva+XqRqRQfjV43DB/eEQO7q1ZarlhWCtOO/GKEV6X/UNm9hbLLj2SxGW1/uPH
/wVE4Hc1
===END CRASH DUMP===

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant