Skip to content

fix: previous server always nil #540

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

Closed

Conversation

BorisP1234
Copy link
Contributor

@BorisP1234 BorisP1234 commented Jun 9, 2025

fixes #539
Also fixes the logs in the console about on which server the player is (currently always says that a player joined the initial server).

robinbraemer added a commit that referenced this pull request Jun 12, 2025
fixes #539
closes #540

- Added a `previousServer` field to `ServerPreConnectEvent` and `serverConnection` to track the server a player was previously connected to.
- Updated constructors and methods to accommodate the new `previousServer` parameter, improving connection request handling and event firing.
- Enhanced `createConnectionRequest` to include the previous connection for better context during server transitions.
@BorisP1234 BorisP1234 closed this Jun 12, 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.

bug: PreviousServer is always nil
1 participant