Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Error: Class 'pocketmine\entity\EntityDeathEvent' not found #87

Closed
Hyroxing-Development opened this issue Oct 17, 2018 · 0 comments
Closed

Comments

@Hyroxing-Development
Copy link

Altay Crash Dump Wed Oct 17 12:39:55 CEST 2018

Error: Class 'pocketmine\entity\EntityDeathEvent' not found
File: src/pocketmine/entity/Living
Line: 719
Type: Error

Code:
[710] }
[711] }
[712]
[713] public function kill() : void{
[714] parent::kill();
[715] $this->startDeathAnimation();
[716] }
[717]
[718] protected function onDeath() : void{
[719] $ev = new EntityDeathEvent($this, $this->getDrops());
[720] $ev->call();
[721] foreach($ev->getDrops() as $item){
[722] $this->getLevel()->dropItem($this, $item);
[723] }
[724] }
[725]
[726] protected function onDeathUpdate(int $tickDiff) : bool{
[727] if($this->deadTicks < $this->maxDeadTicks){
[728] $this->deadTicks += $tickDiff;
[729] if($this->deadTicks >= $this->maxDeadTicks){

Backtrace:
#0 src/pocketmine/entity/Entity(1192): pocketmine\entity\Living->onDeath()
#1 src/pocketmine/entity/Living(714): pocketmine\entity\Entity->kill()
#2 src/pocketmine/entity/Entity(1237): pocketmine\entity\Living->kill()
#3 src/pocketmine/entity/Living(212): pocketmine\entity\Entity->setHealth(double 0)
#4 src/pocketmine/entity/Entity(1173): pocketmine\entity\Living->setHealth(double 0)
#5 src/pocketmine/entity/Living(645): pocketmine\entity\Entity->attack(pocketmine\event\entity\EntityDamageEvent object)
#6 src/pocketmine/entity/Entity(1392): pocketmine\entity\Living->attack(pocketmine\event\entity\EntityDamageEvent object)
#7 src/pocketmine/entity/Entity(1375): pocketmine\entity\Entity->dealFireDamage()
#8 src/pocketmine/entity/Entity(1313): pocketmine\entity\Entity->doOnFireTick(integer 5)
#9 src/pocketmine/entity/Living(767): pocketmine\entity\Entity->entityBaseTick(integer 5)
#10 src/pocketmine/entity/Mob(138): pocketmine\entity\Living->entityBaseTick(integer 5)
#11 src/pocketmine/entity/hostile/Zombie(103): pocketmine\entity\Mob->entityBaseTick(integer 5)
#12 src/pocketmine/entity/Entity(1687): pocketmine\entity\hostile\Zombie->entityBaseTick(integer 5)
#13 src/pocketmine/entity/Living(753): pocketmine\entity\Entity->onUpdate(integer 16228)
#14 src/pocketmine/level/Level(835): pocketmine\entity\Living->onUpdate(integer 16228)
#15 src/pocketmine/level/Level(773): pocketmine\level\Level->actuallyDoTick(integer 16228)
#16 src/pocketmine/Server(2592): pocketmine\level\Level->doTick(integer 16228)
#17 src/pocketmine/Server(2721): pocketmine\Server->checkTickUpdates(integer 16228)
#18 src/pocketmine/Server(2491): pocketmine\Server->tick()
#19 src/pocketmine/Server(2365): pocketmine\Server->tickProcessor()
#20 src/pocketmine/Server(1874): pocketmine\Server->start()
#21 src/pocketmine/PocketMine(259): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /BattleMC/BedWars/BW_2x1/BW_2x1-3/, string /BattleMC/BedWars/BW_2x1/BW_2x1-3/plugins/)
#22 /BattleMC/BedWars/BW_2x1/BW_2x1-3/PocketMine-MP.phar(1): require_once(string phar:///BattleMC/BedWars/BW_2x1/BW_2x1-3/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Altay version: 4.0.0+dev [Protocol 291]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux vps-cloud.myp-s.de 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14) x86_64
PHP Version: 7.2.8
Zend version: 3.2.0
OS : Linux, linux

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