Added more Events and Handlers

This commit is contained in:
Shoghi Cervantes Pueyo
2013-01-12 17:01:20 +01:00
parent e4d71949e3
commit d733eb6b4a
5 changed files with 14 additions and 7 deletions

View File

@@ -576,7 +576,7 @@ class BlockAPI{
}
public function updateBlockRemote($data, $event){
if($event !== "world.block.update"){
if($event !== "block.update"){
return;
}
$this->updateBlock($data["x"], $data["y"], $data["z"], isset($data["type"]) ? $data["type"]:BLOCK_UPDATE_RANDOM);