Fixed Player::setSpawn()

This commit is contained in:
Shoghi Cervantes 2013-09-08 15:37:28 +02:00
parent 8aef462a68
commit 4ccaccc126

View File

@ -113,7 +113,7 @@ class Player{
}
public function setSpawn(Vector3 $pos){
if(!($pos instanceof Level)){
if(!($pos instanceof Position)){
$level = $this->level;
}else{
$level = $pos->level;