gophertunnel
gophertunnel copied to clipboard
ItemInteractionData's BlockPos in PlayerAuthInput may be incorrectly decoded
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