Skip to content

Conversation

@Znojmok
Copy link
Contributor

@Znojmok Znojmok commented Apr 19, 2025

While i was using that i noticed that if a server returns -1 as the protocol version like some servers do, you get an invalid status response error. This should fix that.

@ariscript
Copy link
Owner

Is this something modded servers do? If so, lgtm. This is an API-breaking change so I'll think about if I want to bundle this with anything else before shipping 3.0 :)

@Znojmok
Copy link
Contributor Author

Znojmok commented Apr 20, 2025

That happens on servers if they support multiple versions i think. From my testing not all of them so i guess it depends on what they use to support multiple versions. One server where that happens is horizonanarchy.net

@ariscript ariscript merged commit 1b0c0f8 into ariscript:main Apr 21, 2025
1 check failed
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