diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index e40abd5f0..72e114288 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -447,8 +447,10 @@ abstract class Entity extends Position implements Metadatable{ } if(!($this instanceof Player) and ($this->lastMotionX != $this->motionX or $this->lastMotionY != $this->motionY or $this->lastMotionZ != $this->motionZ)){ - $this->motionChanged = false; - + $this->lastMotionX = $this->motionX; + $this->lastMotionY = $this->motionY; + $this->lastMotionZ = $this->motionZ; + $pk = new SetEntityMotionPacket; $pk->eid = $this->id; $pk->speedX = $this->motionX;