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

Allow disconnecting any protocol with a compat codec #255

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

Konicai
Copy link
Contributor

@Konicai Konicai commented Aug 21, 2024

Protocol v712 made changes to DisconnectPacket. I see that DisconnectSerializerCompat was adjusted at the time, but the serialize method is still broken.

DisconnectSerializerCompat has been removed rather than adding more fields based on the protocol. BedrockCompat now uses actual DisconnectSerializers, and has a new method for choosing the right compat codec depending on the protocol.

Tested on 1.20.73.1 and 1.19.83.1 on Konicai/Geyser@4852bd0

@Alemiz112 Alemiz112 merged commit 5c1a862 into CloudburstMC:3.0 Aug 28, 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