Skip to content

Conversation

@CallMeEchoCodes
Copy link
Contributor

Currently, PlayerDanceTickMixin attempts to set (and thus sync) the PlayerExtendedData.Companion attachment every tick. This is really bad for performance.

This PR just adds a tiny check to see if the value has actually changed before setting it. Profiling with spark it seemed to reduce server thread load massively (from 16% to 0.11%)

@SammyForReal SammyForReal merged commit abae497 into kleinbox:master Mar 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants