mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
fixed farmland not becoming dirt when player jumping
This commit is contained in:
parent
f3a0705c66
commit
5364718d13
2 changed files with 3 additions and 4 deletions
|
|
@ -22,7 +22,6 @@ class FarmlandBlock extends TransparentBlock{
|
|||
|
||||
public static function fallOn(Level $level, $x, $y, $z, Entity $entity, $fallDistance){
|
||||
$rv = lcg_value();
|
||||
console("rv: $rv, fd: ".($fallDistance - 0.5));
|
||||
if($rv < ($fallDistance - 0.5)){
|
||||
$level->fastSetBlockUpdate($x, $y, $z, DIRT, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue