mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Stem: fixed supporting block check issue (#5907)
This bug was introduced in dca752c72f
This commit is contained in:
@ -55,6 +55,7 @@ abstract class Stem extends Crops{
|
||||
if($this->facing !== Facing::UP && !$this->getSide($this->facing)->hasSameTypeId($this->getPlant())){
|
||||
$this->position->getWorld()->setBlock($this->position, $this->setFacing(Facing::UP));
|
||||
}
|
||||
parent::onNearbyBlockChange();
|
||||
}
|
||||
|
||||
public function onRandomTick() : void{
|
||||
|
Reference in New Issue
Block a user