From abe5d94d5b42ecc436fadfcf4786128bcb550ea4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 24 Feb 2018 12:22:03 +0000 Subject: [PATCH] Entity: fixed teleport() not updating movement to players cc @CortexPE --- src/pocketmine/entity/Entity.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 8562822da..4ea2b0ab0 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -1846,13 +1846,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{ $this->resetFallDistance(); $this->onGround = true; - $this->lastX = $this->x; - $this->lastY = $this->y; - $this->lastZ = $this->z; - - $this->lastYaw = $this->yaw; - $this->lastPitch = $this->pitch; - $this->updateMovement(); return true;