Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
NutcrackerBackwardsFix
Fixes the vanilla client desync bug where Nutcrackers chase non-host players backwards and lock their torso and shotgun aim.
By Loona
CHANGELOG
[1.0.0]
- Initial release.
- Added Harmony prefix on
NutcrackerEnemyAI.Updateto realigntargetYRotationwhen non-host clients desync and see Nutcrackers chasing backwards. - Fixed client-side torso and shotgun aim lock by updating
lastSeenPlayerPoswith clear line of sight during active chases (!lostPlayerInChase). - Added tighter host-side
UpdateEnemyRotationClientRpcrotation sync during active chases. - Kept all vanilla
lostPlayerInChasestealth mechanics, leg kicks, and otherEnemyAIbehaviours intact.