mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fix
This commit is contained in:
@ -40,7 +40,7 @@ class ConsoleAPI{
|
||||
$this->event = new EventBase();
|
||||
$event = new Event($this->event, STDIN, Event::READ | Event::PERSIST, array($this, "readLine"));
|
||||
$event->add();
|
||||
$this->event->loop();
|
||||
$this->event->loop(EventBase::LOOP_NONBLOCK);
|
||||
}else{
|
||||
$this->event = $this->server->event("server.tick", array($this, "handle"));
|
||||
$this->loop = new ConsoleLoop();
|
||||
|
Reference in New Issue
Block a user