mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Changed automatic init to manual startup
This commit is contained in:
parent
ff4970578a
commit
56fdc87e9b
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue