mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fix
This commit is contained in:
parent
77ecdb8727
commit
e0727d2e57
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue