mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
heal wont send you hurt animation packet
This commit is contained in:
parent
87d2fbf884
commit
1cbd62629a
1 changed files with 1 additions and 1 deletions
|
|
@ -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(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue