mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 00:29:54 +00:00
Added getSpawn() method to Level API
This commit is contained in:
parent
16be7d42a7
commit
92c64db1b5
@ -58,6 +58,10 @@ class LevelAPI{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getSpawn(){
|
||||||
|
return $this->server->spawn;
|
||||||
|
}
|
||||||
|
|
||||||
public function getChunk($X, $Z){
|
public function getChunk($X, $Z){
|
||||||
return $this->map->map[$X][$Z];
|
return $this->map->map[$X][$Z];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user