jumping on farmland will update neighbors if block changed to dirt

This commit is contained in:
GameHerobrine 2025-05-21 21:23:50 +03:00
parent e45b99c7e9
commit 2db7d4e338

View file

@ -24,7 +24,7 @@ class FarmlandBlock extends TransparentBlock{
public static function fallOn(Level $level, $x, $y, $z, Entity $entity, $fallDistance){
$rv = lcg_value();
if($rv < ($fallDistance - 0.5)){
$level->fastSetBlockUpdate($x, $y, $z, DIRT, 0);
$level->fastSetBlockUpdate($x, $y, $z, DIRT, 0, true);
}
}