Snow Layer is broken on update

This commit is contained in:
Shoghi Cervantes
2013-06-08 14:23:30 +02:00
parent bfa65e1e7d
commit cd932d5c07
2 changed files with 15 additions and 5 deletions

View File

@ -42,11 +42,11 @@ class RedMushroomBlock extends FlowableBlock{
}
public function place(Item $item, Player $player, Block $block, Block $target, $face, $fx, $fy, $fz){
$down = $this->getSide(0);
if($down->isTransparent === false){
$this->level->setBlock($block, $this);
return true;
}
$down = $this->getSide(0);
if($down->isTransparent === false){
$this->level->setBlock($block, $this);
return true;
}
return false;
}
}