Added getSpawn() method to Level API

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-26 03:00:23 +01:00
parent 16be7d42a7
commit 92c64db1b5

View File

@ -57,6 +57,10 @@ class LevelAPI{
break;
}
}
public function getSpawn(){
return $this->server->spawn;
}
public function getChunk($X, $Z){
return $this->map->map[$X][$Z];