Skip to content
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

Open advancement tab regardless of currently open tab #4665

Merged
merged 1 commit into from
May 20, 2024

Conversation

gecko10000
Copy link
Contributor

The current behavior is that the form for the advancement only opens if the tab was already selected. The currentAdvancementCategoryId also never changed, so only the initial tab was openable. This fixes the logic by sending the (uncancellable) advancement tab switch packet when opening the tab, setting the currentAdvancementCategoryId, and opening the corresponding form.

Copy link
Member

@Camotoy Camotoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me; someone just has to test it.

@onebeastchris onebeastchris added the PR: Bugfix When a PR contains a bugfix label May 16, 2024
@onebeastchris
Copy link
Member

Just tested it, seems to work fine. Thanks for the PR!

@onebeastchris onebeastchris merged commit a780eea into GeyserMC:master May 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Bugfix When a PR contains a bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants