readded return in reset spawn pos & some fixes to formatting

This commit is contained in:
GameHerobrine 2024-08-17 16:10:23 +03:00
parent f74e6e0638
commit ed4f820ff3
9 changed files with 25 additions and 24 deletions

View file

@ -1496,7 +1496,7 @@ class Entity extends Position
{
if($this->class === ENTITY_PLAYER){
$this->player->teleport(new Vector3($this->x, $this->y, $this->z), false, false, true, false);
}
}
}
public function moveEntityWithOffset($oX, $oY, $oZ)