fixed checkSleep

This commit is contained in:
GameHerobrine 2024-02-17 12:45:38 +03:00
parent 2927fe1094
commit 9082cfbc26
2 changed files with 3 additions and 3 deletions

View file

@ -1305,7 +1305,7 @@ class Entity extends Position
public function getPosition($round = false)
{
return ! isset($this->position) ? false : ($round === true ? array_map("floor", $this->position) : $this->position);
return !isset($this->position) ? false : ($round === true ? array_map("floor", $this->position) : $this->position);
}
public function harm($dmg, $cause = "generic", $force = false)