mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Changed automatic init to manual startup
This commit is contained in:
@ -22,8 +22,9 @@ class ServerSuiteTest extends PHPUnit_Framework_TestCase{
|
||||
|
||||
//PocketMine-MP server startup
|
||||
$this->server = new ServerAPI();
|
||||
$this->server->load();
|
||||
$this->assertTrue(is_integer($this->server->event("server.start", array($this, "hook"))));
|
||||
$this->server->start();
|
||||
$this->server->init();
|
||||
|
||||
kill(getmypid()); //Fix for ConsoleAPI being blocked
|
||||
exit(0);
|
||||
|
Reference in New Issue
Block a user