mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
Changed automatic init to manual startup
This commit is contained in:
parent
ff4970578a
commit
56fdc87e9b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user