Skip to content

Conversation

amyavi
Copy link
Contributor

@amyavi amyavi commented Jul 31, 2025

Utility#resetAttribute now accounts for entity-specific default attributes, in case it's ever needed for attributes other than MAX_HEALTH in the future.

Chat rendering no longer renders a message once per player on the server, but rather, once per message, which should help with performance when there's lots of talking players on the server (e.g.: when it gets spambotted).

The URL rendering is now done by adventure's LegacyComponentSerializer. I'm not sure why that wasn't being done previously, seeing as it was introduced in version 4.0.0 (released long before URL support was added to Extras).

amyavi added 4 commits July 31, 2025 16:23
Now it accounts for the entity's default attribute being different from the attribute's default.
Now with 50% less map access per chat :)
This means it gets rendered only once per message, instead of being rendered for each viewer.
Behaves exactly like before, just with less code.
@mathiascode mathiascode merged commit 58ac014 into kaboomserver:master Aug 7, 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
Development

Successfully merging this pull request may close these issues.

2 participants