CommandReader: fix notifier race condition crash, don't start self in constructor

self-start is extremely annoying!
This commit is contained in:
Dylan K. Taylor
2018-05-09 20:01:16 +01:00
parent 72690ea7f5
commit be0e85dfae
2 changed files with 1 additions and 2 deletions

View File

@ -1434,6 +1434,7 @@ class Server{
$this->tickSleeper->addNotifier($consoleNotifier, function() : void{
$this->checkConsole();
});
$this->console->start();
$version = new VersionString($this->getPocketMineVersion());