This commit is contained in:
Shoghi Cervantes Pueyo
2012-12-17 15:17:33 +01:00
parent 378506a55a
commit d573f8f6da
3 changed files with 42 additions and 12 deletions

View File

@ -36,7 +36,7 @@ class LevelAPI{
}
public function init(){
//$this->server->event("onBlockBreak", array($this, "handle"));
$this->server->addHandler("onBlockBreak", array($this, "handle"));
}
public function handle($data, $event){