Skip to content

Commit

Permalink
protocol/camera.go: Marshal the BlockListeningRadius field
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedAsylumMC committed Nov 21, 2024
1 parent 2ce4a98 commit 3049fd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions minecraft/protocol/camera.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ func (x *CameraPreset) Marshal(r IO) {
OptionalFunc(r, &x.HorizontalRotationLimit, r.Vec2)
OptionalFunc(r, &x.VerticalRotationLimit, r.Vec2)
OptionalFunc(r, &x.ContinueTargeting, r.Bool)
OptionalFunc(r, &x.BlockListeningRadius, r.Float32)
OptionalFunc(r, &x.ViewOffset, r.Vec2)
OptionalFunc(r, &x.EntityOffset, r.Vec3)
OptionalFunc(r, &x.Radius, r.Float32)
Expand Down

0 comments on commit 3049fd6

Please sign in to comment.