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