diff --git a/src/material/block/plant/BrownMushroom.php b/src/material/block/plant/BrownMushroom.php index 8340f59649..d4b6d60abc 100644 --- a/src/material/block/plant/BrownMushroom.php +++ b/src/material/block/plant/BrownMushroom.php @@ -34,7 +34,7 @@ class BrownMushroomBlock 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){ - $level->setBlock($block, $this->id, $this->getMetadata()); + $this->level->setBlock($block, $this->id, $this->getMetadata()); return true; } return false;