diff --git a/src/pocketmine/entity/Living.php b/src/pocketmine/entity/Living.php index 8a80de324..b63a433ec 100644 --- a/src/pocketmine/entity/Living.php +++ b/src/pocketmine/entity/Living.php @@ -173,15 +173,6 @@ abstract class Living extends Entity implements Damageable{ //return $this->getLevel()->rayTraceBlocks(Vector3::createVector($this->x, $this->y + $this->height, $this->z), Vector3::createVector($entity->x, $entity->y + $entity->height, $entity->z)) === null; } - public function heal(EntityRegainHealthEvent $source){ - parent::heal($source); - if($source->isCancelled()){ - return; - } - - $this->attackTime = 0; - } - /** * Returns an array of Effects currently active on the mob. * @return Effect[]