mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Replace BlockLegacyIds usages with BlockTypeIds where possible
This commit is contained in:
@ -224,7 +224,7 @@ class Fire extends Flowable{
|
||||
continue;
|
||||
}
|
||||
$block = $world->getBlockAt($targetX, $targetY, $targetZ);
|
||||
if($block->getId() !== BlockLegacyIds::AIR){
|
||||
if($block->getTypeId() !== BlockTypeIds::AIR){
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user