Skip to content

Fix 2 incorrect threading checks#17

Merged
Spottedleaf merged 2 commits into
PaperMC:masterfrom
Machine-Maker:fix/incorrect-thread-checks
Apr 1, 2023
Merged

Fix 2 incorrect threading checks#17
Spottedleaf merged 2 commits into
PaperMC:masterfrom
Machine-Maker:fix/incorrect-thread-checks

Conversation

@Machine-Maker
Copy link
Copy Markdown
Member

The catcher in LivingEntity is redundant as getHandle() already checks this in API calls.

The catcher Paper adds for sending messages to command blocks is outdated, as it needs to check the region the block or entity is in.

@Spottedleaf Spottedleaf merged commit 508a668 into PaperMC:master Apr 1, 2023
@Machine-Maker Machine-Maker deleted the fix/incorrect-thread-checks branch April 1, 2023 00:15
@kashike kashike added the type: bug Something doesn't work as it was intended to. label Apr 1, 2023
killerprojecte referenced this pull request in killerprojecte/Folia May 30, 2023
* Fix 2 incorrect threading checks

* Fix bad catcher methods, fix missing async catcher

---------

Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
killerprojecte referenced this pull request in killerprojecte/Folia Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something doesn't work as it was intended to.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants