Projectile: remove redundant parent onHit() calls

This commit is contained in:
Dylan K. Taylor
2018-03-10 10:31:24 +00:00
parent 2ee01eb195
commit 486edf0e55
3 changed files with 0 additions and 4 deletions

View File

@ -67,8 +67,6 @@ class EnderPearl extends Throwable{
$owner->attack(new EntityDamageEvent($owner, EntityDamageEvent::CAUSE_FALL, 5));
}
parent::onHit($event);
$this->flagForDespawn();
}
}