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

Ensure proper Geyser starting/disabling when Geyser is used on a client #4621

Merged
merged 3 commits into from
May 1, 2024

Conversation

onebeastchris
Copy link
Member

Essentially, we were treating ServerLifecycleEvents.SERVER_STOPPING as the event to shutdown Geyser on. While true for servers, the client will call this event multiple times.

Hence, this ensures that we only shut down Geyser when the client is being shut down, and otherwise disable Geyser instead.

@onebeastchris onebeastchris merged commit 1291b89 into GeyserMC:master May 1, 2024
2 checks passed
@onebeastchris onebeastchris deleted the client-mod branch May 1, 2024 22:29
XingLingQAQ pushed a commit to XingLingQAQ/Geyser that referenced this pull request Sep 25, 2024
…nt (GeyserMC#4621)

* Ensure proper Geyser starting/disabling when Geyser is used on a client

* also set correct remote port

* only use direct connection on server, not client, actually override remote port
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