Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dispatch commands on main thread when run from XMPP #3803

Merged
merged 1 commit into from
Dec 11, 2020

Conversation

mdcfe
Copy link
Member

@mdcfe mdcfe commented Nov 30, 2020

Information

This PR fixes an issue reported on Discord, where commands executed through XMPP are dispatched async from the XMPP listener thread.

Details

Proposed fix:
Dispatch commands on the server's main thread, instead of asynchronously.

Environments tested:

  • Latest Paper Version (any OS, any Java 8+ version)
  • CraftBukkit/Spigot/Paper 1.12.2 (any OS, any Java 8+ version)
  • CraftBukkit 1.8.8 (any OS, any Java 8+ version)

@mdcfe mdcfe added this to the 2.19.0 milestone Nov 30, 2020
@mdcfe mdcfe merged commit 5bb3cc8 into 2.x Dec 11, 2020
@mdcfe mdcfe deleted the fix/xmpp-async-commands branch December 11, 2020 16:36
DarkEyeDragon pushed a commit to DarkEyeDragon/Essentials that referenced this pull request Dec 24, 2020
This PR fixes an issue reported on Discord, where commands executed through XMPP are dispatched async from the XMPP listener thread.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants