mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Unnecessary return/continue
This commit is contained in:
parent
e2dae67a1c
commit
d3f5386812
5 changed files with 5 additions and 10 deletions
|
|
@ -1496,8 +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);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function moveEntityWithOffset($oX, $oY, $oZ)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue