From 2838640649dcee88f00171cb94fdd617b6ab3538 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Fri, 30 May 2025 03:25:03 +0300 Subject: [PATCH] fixed falling from half blocks causing farmland to disappeat --- src/entity/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/Entity.php b/src/entity/Entity.php index 9176c260..9fa7297f 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -964,7 +964,7 @@ class Entity extends Position $bid = $this->level->level->getBlockID($x, $y, $z); if($bid > 0){ $clz = StaticBlock::getBlock($bid); - $clz::fallOn($this->level, $x, $y, $z, $this, ceil($this->fallStart - $this->y)); + $clz::fallOn($this->level, $x, $y, $z, $this, $this->fallStart - $this->y); } $dmg = ceil($this->fallStart - $this->y - 3);