Function names

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-30 20:49:04 +01:00
parent 2b5c21d909
commit 6c8e283599
3 changed files with 3 additions and 2 deletions

View File

@ -262,5 +262,6 @@ class ConsoleLoop extends Thread{
$this->wait();
$this->line = false;
}
exit(0);
}
}

View File

@ -283,7 +283,7 @@ class ServerAPI extends stdClass{ //Yay! I can add anything to this class in run
}
public function start(){
$this->server->start();
$this->server->init();
unregister_tick_function(array($this->server, "tick"));
$this->__destruct();
unset($this->server);

View File

@ -307,7 +307,7 @@ class PocketMinecraftServer extends stdClass{
}
}
public function start(){
public function init(){
if($this->mapName !== false and $this->map === false){
$this->loadMap();
$this->loadEntities();