Skip to content

Commit

Permalink
protocol/camera.go: Marshal AimAssist fielld in CameraPreset
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedAsylumMC committed Dec 5, 2024
1 parent e400da0 commit a5ea496
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 @@ -213,6 +213,7 @@ func (x *CameraPreset) Marshal(r IO) {
OptionalFunc(r, &x.AudioListener, r.Uint8)
OptionalFunc(r, &x.PlayerEffects, r.Bool)
OptionalFunc(r, &x.AlignTargetAndCameraForward, r.Bool)
OptionalMarshaler(r, &x.AimAssist)
}

// CameraPresetAimAssist represents a preset for aim assist settings.
Expand Down

0 comments on commit a5ea496

Please sign in to comment.