From 05ae15ef743f849f68e2ff72a24c2e2901ab32f1 Mon Sep 17 00:00:00 2001 From: ArkQuark <74979909+ArkQuark@users.noreply.github.com> Date: Thu, 23 Dec 2021 23:35:18 +0300 Subject: [PATCH] Update DeadBush.php --- src/material/block/plant/DeadBush.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/material/block/plant/DeadBush.php b/src/material/block/plant/DeadBush.php index d4736980..e5afe9b3 100644 --- a/src/material/block/plant/DeadBush.php +++ b/src/material/block/plant/DeadBush.php @@ -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; + } + } \ No newline at end of file