Merge commit '7af4e70f6'

# Conflicts:
#	resources/vanilla
#	src/pocketmine/entity/Entity.php
This commit is contained in:
Dylan K. Taylor 2020-06-04 14:02:00 +01:00
commit 3e9018a838

View File

@ -1442,7 +1442,7 @@ abstract class Entity{
$this->setMotion($this->temporalVector->setComponents(0, 0, 0)); $this->setMotion($this->temporalVector->setComponents(0, 0, 0));
if($this->setPositionAndRotation($pos, $yaw ?? $this->location->yaw, $pitch ?? $this->location->pitch)){ if($this->setPositionAndRotation($pos, $yaw ?? $this->location->yaw, $pitch ?? $this->location->pitch)){
$this->resetFallDistance(); $this->resetFallDistance();
$this->onGround = true; $this->setForceMovementUpdate();
$this->updateMovement(true); $this->updateMovement(true);