Updated API methods to use less events

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-04 20:27:36 +01:00
parent 565cb9781c
commit 6b77a69302
3 changed files with 28 additions and 78 deletions

View file

@ -34,9 +34,9 @@ class LevelAPI{
}
public function init(){
$this->server->event("player.block.break", array($this, "handle"));
/*$this->server->event("player.block.break", array($this, "handle"));
$this->server->event("player.block.place", array($this, "handle"));
$this->server->event("player.block.update", array($this, "handle"));
$this->server->event("player.block.update", array($this, "handle"));*/
}
public function handle($data, $event){