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

Compatibility assertion when using 1.19 #12

Open
arslanarm opened this issue Jul 31, 2022 · 1 comment
Open

Compatibility assertion when using 1.19 #12

arslanarm opened this issue Jul 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@arslanarm
Copy link

RegEx in the static block of Compatibility.class raises an error because of third number in the version.
1.19.1 works, but 1.19 doesn't because it doesn't match with the regex

To reproduce the error just try to launch 1.19 server with Compatibility class loaded and static block ran

Simple solution would be just to run 1.19.1 server but thats awkward :)

@JohnnyJayJay JohnnyJayJay added the bug Something isn't working label Aug 7, 2022
@JohnnyJayJay
Copy link
Owner

Thanks for reporting this, this was an oversight at the time. I should be able to fix this by making some adjustments to the regex and the compatibility check logic. I'll get to that soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants