diff --git a/src/entity/Living.php b/src/entity/Living.php index 2c1d3d247..4e7401307 100644 --- a/src/entity/Living.php +++ b/src/entity/Living.php @@ -318,7 +318,7 @@ abstract class Living extends Entity{ }else{ $fallBlockPos = $this->location->floor(); $fallBlock = $this->getWorld()->getBlock($fallBlockPos); - if($fallBlock->getId() === BlockLegacyIds::AIR){ + if(count($fallBlock->getCollisionBoxes()) === 0){ $fallBlockPos = $fallBlockPos->subtract(0, 1, 0); $fallBlock = $this->getWorld()->getBlock($fallBlockPos); }