Update DeadBush.php

This commit is contained in:
ArkQuark 2021-12-23 23:35:18 +03:00
parent 2df57e1267
commit 05ae15ef74

View file

@ -36,4 +36,13 @@ class DeadBushBlock extends FlowableBlock{
return false;
}
public function place(Item $item, Player $player, Block $block, Block $target, $face, $fx, $fy, $fz){
$down = $this->getSide(0);
if($down->getID() == 12){
$this->level->setBlock($block, $this, true, false, true);
return true;
}
return false;
}
}