TallGrass: fixed seeds never being dropped when support is removed

This commit is contained in:
Dylan K. Taylor 2019-03-23 19:58:35 +00:00
parent d9134f28e4
commit aea775c7c6

View File

@ -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);
}
}