diff --git a/src/entity/Entity.php b/src/entity/Entity.php index 0bf3960b..925180b6 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -1421,7 +1421,7 @@ class Entity extends Position public function heal($health, $cause = "generic") { - return $this->setHealth(min(20, $this->getHealth() + ((int) $health)), $cause); + return $this->setHealth(min(20, $this->getHealth() + ((int) $health)), $cause, allowHarm: false); } public function stopRiding(){