mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Again :'(
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user