diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index d017510ec52..b0a69aaf0f5 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -763,7 +763,7 @@ public function despawnFrom(Player $player){ * @param EntityDamageEvent $source * */ - public function attack($damage, EntityDamageEvent $source){ + public function attack($damage, EntityDamageEvent $source){ //$damage is unused if($this->hasEffect(Effect::FIRE_RESISTANCE) and ( $source->getCause() === EntityDamageEvent::CAUSE_FIRE or $source->getCause() === EntityDamageEvent::CAUSE_FIRE_TICK @@ -788,7 +788,7 @@ public function attack($damage, EntityDamageEvent $source){ * @param EntityRegainHealthEvent $source * */ - public function heal($amount, EntityRegainHealthEvent $source){ + public function heal($amount, EntityRegainHealthEvent $source){ //$amount is unused $this->server->getPluginManager()->callEvent($source); if($source->isCancelled()){ return;