-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client spams warnings for bat not having attribute minecraft:generic.flying_speed #728
Comments
It's just a generic warning that can safely be ignored. If it does bother you enough (like it does me) you can patch it out in the client the way I do in PurpurClient. There is nothing I can do server side to stop it, other than rip out the Ridables patch. |
Is it not possible to unregister all changes in the Ridables patch if it is toggled off / not used? Or just not load the patch with a config toggle? I'd really like to avoid maintaining my own fork just to rip out the patch and not everyone is going to resort to using your PurpurClient. Spamming the client hundreds of times a minute with warnings can't be great. :( |
Addresses PurpurMC#728 Since the client doesn't need these attributes, indicate that they shouldn't be sent. This doesn't appear to impact the bat from being ridable.
Timings link
https://timings.pl3x.net/?id=7f2d96d1f84049a2a9bad8bd74e7a196
Expected behavior
Client log to not spam errors for a bat entity not having a specific attribute.
Observed/Actual behavior
The client seems to spam warnings for the bat entity not having the flying_speed attribute.
This occurs hundreds of times for me in a short time period just by flying around my overworld.
Steps/models to reproduce
world
for a minute.Purpur version
Purpur version git-Purpur-1417 (MC: 1.17.1)
Agreements
Other
purpur.yml mobs section:
Related?
#13 (comment)
Seeing as how Tuinity is now merged into Paper, is this issue catchable so bats that don't have the necessary flying attribute can be set with it? Or any workaround to prevent the client from just spamming errors?
Bat flying speed is set in the configurable entity base attributes patch but there's no config option generated for it by default.
https://github.com/pl3xgaming/Purpur/blob/69c7c31f9a5c115693adf3b09088d17c2be18118/patches/server/0008-Configurable-entity-base-attributes.patch#L1445
It's also all over the ridables patch in a few places for generic flying speed, but I don't have ridables enabled.
https://github.com/pl3xgaming/Purpur/blob/69c7c31f9a5c115693adf3b09088d17c2be18118/patches/server/0007-Ridables.patch#L4037
The text was updated successfully, but these errors were encountered: