mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Removed server.tick event
This commit is contained in:
parent
911577e9b8
commit
5def864aca
5 changed files with 13 additions and 5 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue