Skip to content

Expose sendPacketQueued to unsafe interface #3797

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

Outfluencer
Copy link
Collaborator

No description provided.

@Outfluencer
Copy link
Collaborator Author

I needed this method multiple times, and at the end i did it always with reflections, we should expose it.

For exaple if you want to send a bossbar packet to all players,
Maybe the player is in config state, and sending the packet with the old unsafe method will fail

@Janmm14
Copy link
Contributor

Janmm14 commented Mar 5, 2025

I thought that bungee automatically queued packets when needed.

@Outfluencer
Copy link
Collaborator Author

Outfluencer commented Mar 5, 2025

It does not. (not when using unsafe#sendPacket())

md-5 pushed a commit that referenced this pull request Mar 8, 2025
@md-5 md-5 closed this Mar 8, 2025
@Outfluencer Outfluencer deleted the feature/expose-sendPacketQueued branch March 8, 2025 10:10
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.

3 participants