mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Handlers
This commit is contained in:
parent
378506a55a
commit
d573f8f6da
3 changed files with 42 additions and 12 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue