mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Replace BlockLegacyIds usages with BlockTypeIds where possible
This commit is contained in:
@ -55,7 +55,7 @@ class Wall extends Transparent{
|
||||
}
|
||||
}
|
||||
|
||||
$up = $this->getSide(Facing::UP)->getId() !== BlockLegacyIds::AIR;
|
||||
$up = $this->getSide(Facing::UP)->getTypeId() !== BlockTypeIds::AIR;
|
||||
if($up !== $this->up){
|
||||
$this->up = $up;
|
||||
$changed++;
|
||||
|
Reference in New Issue
Block a user