Skip to content

Document undefined tracker behavior in track/untrack events. - #14189

Open
SuSeu1414 wants to merge 1 commit into
PaperMC:mainfrom
SuSeu1414:fix/tracking_event_docs
Open

Document undefined tracker behavior in track/untrack events.#14189
SuSeu1414 wants to merge 1 commit into
PaperMC:mainfrom
SuSeu1414:fix/tracking_event_docs

Conversation

@SuSeu1414

Copy link
Copy Markdown

If a player is teleported during this event, the entity tracker sometimes tracks the entities immediately and sometimes only in the next tick (depending on their order in player list). So if a plugin teleported me into a group of players inside this event, I would statistically see about half of them right away and the rest in the next tick.

This PR adds a javadoc note to PlayerTrackEntityEvent and PlayerUntrackEntityEvent warning that teleporting entities druing these events yields undefined tracker behavior

@SuSeu1414
SuSeu1414 requested a review from a team as a code owner August 15, 2026 12:44
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

1 participant