Added Sign placement

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-04 19:35:11 +01:00
parent 3e87d1927d
commit 4f0517a5a7
9 changed files with 188 additions and 58 deletions

View file

@ -40,7 +40,7 @@ class GenericBlock extends Block{
public function onBreak(BlockAPI $level, Item $item, Player $player){
if($this->inWorld === true){
$level->setBlock($this, 0, 0);
$level->setBlock($this, AIR, 0);
return true;
}
return false;