Living: fixed a usage of hardcoded numeric ID

This commit is contained in:
Dylan K. Taylor 2022-05-25 22:23:14 +01:00
parent 227f28a6d2
commit 39b8daeeec
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -775,7 +775,7 @@ abstract class Living extends Entity{
$id = $block->getId();
if($transparent === null){
if($id !== 0){
if($id !== BlockLegacyIds::AIR){
break;
}
}else{