Skip to content

Commit

Permalink
protocol/block.go: Read unsigned block position in BlockChangeEntry (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
olebeck authored Jul 24, 2024
1 parent 681d74e commit 29a1116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minecraft/protocol/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type BlockChangeEntry struct {

// Marshal encodes/decodes a BlockChangeEntry.
func (x *BlockChangeEntry) Marshal(r IO) {
r.BlockPos(&x.BlockPos)
r.UBlockPos(&x.BlockPos)
r.Varuint32(&x.BlockRuntimeID)
r.Varuint32(&x.Flags)
r.Varuint64(&x.SyncedUpdateEntityUniqueID)
Expand Down

0 comments on commit 29a1116

Please sign in to comment.