Skip to content

Don't always send dummy respawn#1299

Open
OptimisticDeving wants to merge 1 commit into
ViaVersion:masterfrom
OptimisticDeving:dont-always-send-dummy-respawn
Open

Don't always send dummy respawn#1299
OptimisticDeving wants to merge 1 commit into
ViaVersion:masterfrom
OptimisticDeving:dont-always-send-dummy-respawn

Conversation

@OptimisticDeving

Copy link
Copy Markdown

Should fix a regression introduced by 29d3787, forcing keep attributes respawns to work like non-keep attribute respawns, causing the client to forget chunks & the server to not resend them, leading to hacky workarounds like this (good thing it doesn't run on Velocity proxies, or otherwise I wouldn't have figured this out :P).

Keep attribute respawns are invoked when a Paper plugin makes a change to a player's profile (for example, changing their skin).

In theory, world changes should always be non-keep attribute respawns, but I kept the old world name check just in-case my assumption is wrong and causes another regression.

I don't know if this is the best fix, but I have tested it and am unable to reproduce #381 with this patch applied or what the comment describes.

@kennytv

kennytv commented Jul 18, 2026

Copy link
Copy Markdown
Member

This would make it no longer sent, ever, if installed on the backend

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