From aea775c7c6234d436238417026a5a1c68faec026 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 23 Mar 2019 19:58:35 +0000 Subject: [PATCH] TallGrass: fixed seeds never being dropped when support is removed --- src/pocketmine/block/TallGrass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/block/TallGrass.php b/src/pocketmine/block/TallGrass.php index 5fba37304d..eaf36f9b4d 100644 --- a/src/pocketmine/block/TallGrass.php +++ b/src/pocketmine/block/TallGrass.php @@ -47,7 +47,7 @@ class TallGrass extends Flowable{ public function onNearbyBlockChange() : void{ if($this->getSide(Facing::DOWN)->isTransparent()){ //Replace with common break method - $this->getLevel()->setBlock($this, BlockFactory::get(BlockLegacyIds::AIR)); + $this->level->useBreakOn($this); } }