PaperMC / PaperMC/Paper

position not syncing when falling

Open
#9,410 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: accepted type: bug upstream: vanilla version: 1.20.1
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Expected behavior

client position and server position should be the same while flying

Observed/Actual behavior

player position is not sync with the server position while flying and syncs when touching the ground

Steps/models to reproduce
  1. connect with 2 players,
  2. one of them stands somewhere, the 2nd player flies far away at high speed and then back to the player.
  3. then compare the position between the two players. (the position should be different)

Note: (the player should still fly, because when he touches the ground, the player position is synchronized).

Plugin and Datapack List

plotsquared, fastasyncworldedit

Paper version

This server is running Paper version git-Paper-54 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 8582999)
You are running the latest version
Previous version: git-Purpur-2004 (MC: 1.20.1)

Other

https://www.youtube.com/watch?v=RjGqo-xQTLA

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Use the reported two-player reproduction on Paper 1.20.1: have one player fly away at high speed and return while remaining airborne, then compare both players' positions. Trace the server-side flying position synchronization behavior; done means the client and server positions remain synchronized before the player touches the ground.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.