diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 1969fc1da..7f0eb68b9 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -1616,7 +1616,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ $diff = $this->distanceSquared($newPos) / $tickDiff ** 2; - if($this->isSurvival() and !$revert and $diff > 0.0625){ + if($this->isSurvival() and $diff > 0.0625){ $ev = new PlayerIllegalMoveEvent($this, $newPos, new Vector3($this->lastX, $this->lastY, $this->lastZ)); $ev->setCancelled($this->allowMovementCheats);