Skip to content

Fix archery entity tracking failing often on Folia#5260

Merged
nossr50 merged 1 commit intomcMMO-Dev:masterfrom
Warriorrrr:fix/archery-entity-tracking-folia
Feb 13, 2026
Merged

Fix archery entity tracking failing often on Folia#5260
nossr50 merged 1 commit intomcMMO-Dev:masterfrom
Warriorrrr:fix/archery-entity-tracking-folia

Conversation

@Warriorrrr
Copy link
Contributor

The issue that this PR aims to solve is an IllegalStateException thrown by folia when getEntityId is called on an entity in a different region, this can happen whenever incrementTrackerValue is called with more than two TrackedEntity instances in the list.

I also updated the class to use a map instead of a list, since it's a simpler and more efficient way to do this.

@nossr50
Copy link
Member

nossr50 commented Feb 13, 2026

I appreciate all the work you contribute, thanks for another PR 🫡 😁

@nossr50 nossr50 merged commit be613bc into mcMMO-Dev:master Feb 13, 2026
1 check passed
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