mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Fixed Player::setSpawn()
This commit is contained in:
parent
8aef462a68
commit
4ccaccc126
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class Player{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setSpawn(Vector3 $pos){
|
public function setSpawn(Vector3 $pos){
|
||||||
if(!($pos instanceof Level)){
|
if(!($pos instanceof Position)){
|
||||||
$level = $this->level;
|
$level = $this->level;
|
||||||
}else{
|
}else{
|
||||||
$level = $pos->level;
|
$level = $pos->level;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue