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

Fix VFP compat not handling legacy versions correctly #617

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Fix VFP compat not handling legacy versions correctly #617

merged 1 commit into from
Apr 9, 2024

Conversation

RaphiMC
Copy link
Contributor

@RaphiMC RaphiMC commented Apr 9, 2024

Fixes protocol id comparisons in clientcommands, as those aren't handling protocol id overlaps.

The method that returns the protocol name is technically also wrong, but can't be fixed without adding a huge if else chain (and a lot of reflection). The protocol names in ViaVersion/ViaLegacy aren't always matching the ones in SeedFinding MCVersion enum. Some don't even exist in the enum

@Earthcomputer Earthcomputer merged commit 185b5ca into Earthcomputer:fabric Apr 9, 2024
1 check passed
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