mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Removed API::action()
This commit is contained in:
parent
732f5f5168
commit
1376cc860d
3 changed files with 21 additions and 16 deletions
|
|
@ -32,7 +32,7 @@ class PlayerAPI{
|
|||
}
|
||||
|
||||
public function init(){
|
||||
$this->server->addHandler("server.regeneration", array($this, "handle"));
|
||||
$this->server->schedule(20 * 15, array($this, "handle"), 1, true, "server.regeneration");
|
||||
$this->server->addHandler("player.death", array($this, "handle"), 1);
|
||||
$this->server->api->console->register("list", "", array($this, "commandHandler"));
|
||||
$this->server->api->console->register("kill", "<player>", array($this, "commandHandler"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue