mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-22 03:14:11 +00:00
Function names
This commit is contained in:
parent
2b5c21d909
commit
6c8e283599
@ -262,5 +262,6 @@ class ConsoleLoop extends Thread{
|
|||||||
$this->wait();
|
$this->wait();
|
||||||
$this->line = false;
|
$this->line = false;
|
||||||
}
|
}
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -283,7 +283,7 @@ class ServerAPI extends stdClass{ //Yay! I can add anything to this class in run
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function start(){
|
public function start(){
|
||||||
$this->server->start();
|
$this->server->init();
|
||||||
unregister_tick_function(array($this->server, "tick"));
|
unregister_tick_function(array($this->server, "tick"));
|
||||||
$this->__destruct();
|
$this->__destruct();
|
||||||
unset($this->server);
|
unset($this->server);
|
||||||
|
@ -307,7 +307,7 @@ class PocketMinecraftServer extends stdClass{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function start(){
|
public function init(){
|
||||||
if($this->mapName !== false and $this->map === false){
|
if($this->mapName !== false and $this->map === false){
|
||||||
$this->loadMap();
|
$this->loadMap();
|
||||||
$this->loadEntities();
|
$this->loadEntities();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user