mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Stem: fixed supporting block check issue (#5907)
This bug was introduced in dca752c72f
This commit is contained in:
parent
83d11c7429
commit
e23806d417
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user