mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Projectile: remove redundant parent onHit() calls
This commit is contained in:
@ -67,8 +67,6 @@ class EnderPearl extends Throwable{
|
||||
$owner->attack(new EntityDamageEvent($owner, EntityDamageEvent::CAUSE_FALL, 5));
|
||||
}
|
||||
|
||||
parent::onHit($event);
|
||||
|
||||
$this->flagForDespawn();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user