mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Added getSpawn() method to Level API
This commit is contained in:
parent
16be7d42a7
commit
92c64db1b5
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,10 @@ class LevelAPI{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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…
Add table
Add a link
Reference in a new issue