From 28480424c5533edaa93a4a62eff973f5ef9e7963 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 8 Jun 2013 13:45:42 +0200 Subject: [PATCH] Fixed crash --- src/material/block/plant/BrownMushroom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/block/plant/BrownMushroom.php b/src/material/block/plant/BrownMushroom.php index b0348dcd2f..fb0aedffd8 100644 --- a/src/material/block/plant/BrownMushroom.php +++ b/src/material/block/plant/BrownMushroom.php @@ -44,7 +44,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){ - $this->level->setBlock($block, $this->id, $this->getMetadata()); + $this->level->setBlock($block, $this); return true; } return false;