Merge branch 'stable' into next-minor

This commit is contained in:
Dylan K. Taylor
2020-06-04 13:59:30 +01:00
5 changed files with 35 additions and 11 deletions

View File

@ -1868,7 +1868,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
$this->setMotion($this->temporalVector->setComponents(0, 0, 0));
if($this->setPositionAndRotation($pos, $yaw ?? $this->yaw, $pitch ?? $this->pitch)){
$this->resetFallDistance();
$this->onGround = true;
$this->setForceMovementUpdate();
$this->updateMovement(true);