Skip to content

First player spawn does not include yaw direction #9933

@vanquesh

Description

@vanquesh

Expected behavior

When players first join on my server they are facing the wrong direction. They are in the right location, but facing the wrong direction. I have set the world spawn location including the direction every possible way, using commands and the Paper API via a custom plugin but nothing is working.

Observed/Actual behavior

When players first join they are in the right location but the yaw is 0 even though the world spawn location has yaw 180.

Steps/models to reproduce

Change world spawn location to have non-zero yaw and join with a new player. The new player will not be facing in the same direction as the spawn location, even though their x y z coodinates are correct.

Plugin and Datapack List

BlueMap, Core Protect, packetevents, ViaVersion, ViBackwards, Votifier, WorldEdit, and a custom plugin I made

Paper version

This server is running Paper version git-Paper-280 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: 4675152)
You are 3 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: git-Paper-261 (MC: 1.20.2)

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.type: bugSomething doesn't work as it was intended to.upstream: vanillaIssue exists in vanilla Minecraft.

    Type

    No fields configured for Bug.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions