diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index ce1823c3c..0fa8cda49 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -2092,10 +2092,6 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade public function handleMovePlayer(MovePlayerPacket $packet) : bool{ $newPos = new Vector3($packet->x, $packet->y - $this->getEyeHeight(), $packet->z); - if($newPos->distanceSquared($this) == 0 and ($packet->yaw % 360) === $this->yaw and ($packet->pitch % 360) === $this->pitch){ //player hasn't moved, just client spamming packets - return true; - } - $revert = false; if(!$this->isAlive() or $this->spawned !== true){ $revert = true;