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

Pass through packets in config state #1326

Merged
merged 1 commit into from
May 23, 2024

Conversation

oxkitsune
Copy link
Contributor

Since 1.20.5 there's an additional "handshake" when the client enters the configuration state.
If there's no connection in flight, the play:serverbound/minecraft:configuration_acknowledged emitted by the client isn't passed through to the backend server. This means the backend server won't start sending the rest of the registry data to the client, thus the client ends up in an infinite "Reconfiguring... " screen.

In 99% of normal use cases there will be a connection in flight, but I sadly ran into a case where there wasn't a connection in flight. This PR solves this issue by just passing through the packet if there's no connection in flight.

@electronicboy electronicboy merged commit a02b601 into PaperMC:dev/3.0.0 May 23, 2024
1 check passed
R00tB33rMan pushed a commit to GemstoneGG/Velocity-CTD that referenced this pull request May 23, 2024
R00tB33rMan pushed a commit to GemstoneGG/Velocity-CTD that referenced this pull request May 23, 2024
qyl27 pushed a commit to MeowCraftMC/Velocity that referenced this pull request Jun 8, 2024
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