fixed mob physics on ice

This commit is contained in:
GameHerobrine 2024-02-15 06:43:36 +03:00
parent 19a66be51a
commit 0469550ca2
4 changed files with 6 additions and 8 deletions

View file

@ -667,7 +667,6 @@ class Entity extends Position
$dz = $cz;
$this->boundingBox->setBB($aabb1);
}
}
$this->x = ($this->boundingBox->minX + $this->boundingBox->maxX) / 2;

View file

@ -225,7 +225,7 @@ abstract class Living extends Entity implements Pathfindable{
//{
// $var5 = $this->landMovementFactor;
//}
//$var5 *= $var8;
$var5 *= $var8;
}else{
$var5 = $this->jumpMovementFactor;
}
@ -255,9 +255,6 @@ abstract class Living extends Entity implements Pathfindable{
$this->ai->mobController->setJumping(true); //non vanilla
}
}
//TODO limbYaw - is it even needed?
}
public function sendMoveUpdate(){