Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-228577

Teleporting player in the first tick they join a server causes position desync

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.17
    • None
    • windows 10
      java 16
    • Unconfirmed
    • (Unassigned)

      Expected:
      Joined player will teleport to correct location and update all other clients connected to the server.

      Actual:
      The joined player first joins at their original location, but get teleported to the correct location on the server. However sometimes, other clients will still see the player at their original location and move relative to that.

      Steps to reproduce:
      1. Run a server with 2 players (local host)
      2. Set a function to run the first tick a player joins (Using the scoreboard objective: minecraft.custom:minecraft.leave_game as a trigger)
      3. This functions should teleport the joining player to absolute coordinates about 16 blocks away from their original location.
      4. The other player can observe the joining player to be in the incorrect position.

      See attached video for more details/proof.

            Unassigned Unassigned
            m124367 AgentM
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: