From 39b8daeeec3fd2ad9a8593bb15edca65349948bd Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 25 May 2022 22:23:14 +0100 Subject: [PATCH] Living: fixed a usage of hardcoded numeric ID --- src/entity/Living.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/Living.php b/src/entity/Living.php index 889e55fa2..74d38ef41 100644 --- a/src/entity/Living.php +++ b/src/entity/Living.php @@ -775,7 +775,7 @@ abstract class Living extends Entity{ $id = $block->getId(); if($transparent === null){ - if($id !== 0){ + if($id !== BlockLegacyIds::AIR){ break; } }else{