Skip to content

Conversation

@proferabg
Copy link
Contributor

This will actually make it most like how BungeeCord handles it.

…IndexOutOfBoundsException. This will actually make it most like how BungeeCord handles it.
@CodeCrafter47
Copy link
Owner

I'm not a fan of this PR. It reduces readability of the code. Robust parsing could also be achieved with a more local modification, checking the value of the parsed byte before indexing into the Mode.values() array.

I assume this PR isn't relevant anymore since the root cause of the issue, the wrong packet id, has been fixed.

@proferabg
Copy link
Contributor Author

Yeah not needed anymore.

@proferabg proferabg closed this May 11, 2025
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