Removed server.tick event

This commit is contained in:
Shoghi Cervantes
2013-06-05 12:58:58 +02:00
parent 911577e9b8
commit 5def864aca
5 changed files with 13 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ class ConsoleAPI{
}
public function init(){
$this->event = $this->server->event("server.tick", array($this, "handle"));
$this->server->schedule(2, array($this, "handle"), array(), true);
$this->loop = new ConsoleLoop();
$this->register("help", "[page|command name]", array($this, "defaultCommands"));
$this->register("status", "", array($this, "defaultCommands"));