mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
LevelAPI and pre-map r
This commit is contained in:
parent
801c2736ba
commit
063f44c330
8 changed files with 115 additions and 24 deletions
|
|
@ -80,6 +80,8 @@ class ServerAPI extends stdClass{ //Yay! I can add anything to this class in run
|
|||
$this->server->mapName = $this->getProperty("level-name");
|
||||
$this->server->mapDir = FILE_PATH."data/maps/".$this->getProperty("level-name")."/";
|
||||
$this->loadProperties();
|
||||
$this->server->loadMap();
|
||||
|
||||
//Autoload all default APIs
|
||||
console("[INFO] Loading default APIs");
|
||||
$dir = dir(FILE_PATH."classes/API/");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue