mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Again :'(
This commit is contained in:
parent
06ce84e275
commit
eba33b0e00
2 changed files with 5 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
|||
private $server;
|
||||
public function testStart(){
|
||||
define("NO_THREADS", true);
|
||||
//define("DEBUG", -1); //No output
|
||||
define("DEBUG", -1); //No output
|
||||
require_once(dirname(__FILE__)."/../dependencies.php");
|
||||
require_once(FILE_PATH."/src/functions.php");
|
||||
require_once(FILE_PATH."/src/dependencies.php");
|
||||
|
|
@ -24,11 +24,9 @@
|
|||
$server->init();
|
||||
}
|
||||
|
||||
public function hook(){
|
||||
$this->server = ServerAPI::request();
|
||||
|
||||
public function hook(){
|
||||
//Everything done!
|
||||
$this->server->close();
|
||||
ServerAPI::request()->close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue