Skip to content

Fix reading WrapperPlayServerUpdateScore erasing target objective in 1.8 until 1.20.2 - #1610

Merged
booky10 merged 1 commit into
retrooper:2.0from
LeonTG:grr-scores
Oct 24, 2026
Merged

booky10 merged 1 commit into
retrooper:2.0from
LeonTG:grr-scores

Conversation

@LeonTG

@LeonTG LeonTG commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

PacketEvents would read the objectiveName variable, then if the action is REMOVE_ITEM it would set objectiveName to ""

And by doing so, that means if you are trying to reset a score for a specific objective, and PacketEvents intercepted this packet, it would turn the packet into resetting for EVERY objective 😭 😭 😭 😭 😭

This PR fixes it so it is preserved and only resets what it is supposed to reset

@booky10
booky10 merged commit e43d3f7 into retrooper:2.0 Oct 24, 2026
2 checks passed
@LeonTG
LeonTG deleted the grr-scores branch October 24, 2026 22:28
@booky10

booky10 commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the PR!

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