Skip to content

ItemInteractionData's BlockPos in PlayerAuthInput may be incorrectly decoded #209

@ethaniccc

Description

@ethaniccc

The block position in the ItemInteractionData of PlayerAuthInput may be incorrectly decoded.

To see results, use the following code while handling PlayerAuthInput:

if utils.HasFlag(pk.InputData, packet.InputFlagPerformItemInteraction) {
	fmt.Println((fmt.Sprintf("broke block at %v", pk.ItemInteractionData.BlockPosition))
}

Video w/ reproduction: https://streamable.com/fd6alt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions