mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 22:15:30 +00:00
TallGrass: fixed seeds never being dropped when support is removed
This commit is contained in:
parent
d9134f28e4
commit
aea775c7c6
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user