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

@@ -88,7 +88,7 @@ class LevelAPI{
public function setBlock($x, $y, $z, $block, $meta = 0, $update = true){
$this->map->setBlock($x, $y, $z, $block, $meta);
$this->heightMap[$z][$x] = $this->map->getFloor($x, $z);
if($this->server->api->dhandle("world.block.change", array(
if($this->server->api->dhandle("block.change", array(
"x" => $x,
"y" => $y,
"z" => $z,