mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-26 21:18:43 +00:00
...
This commit is contained in:
parent
4a2c7dc684
commit
c548923116
@ -106,7 +106,7 @@ abstract class BaseSign extends Transparent implements WoodMaterial{
|
||||
abstract protected function getSupportingFace() : int;
|
||||
|
||||
public function onNearbyBlockChange() : void{
|
||||
if($this->getSide($this->getSupportingFace())->getTypeId() !== BlockTypeIds::AIR){
|
||||
if($this->getSide($this->getSupportingFace())->getTypeId() === BlockTypeIds::AIR){
|
||||
$this->position->getWorld()->useBreakOn($this->position);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user