Skip to content

Change condition check order of entity tracking Y#11348

Merged
lynxplay merged 1 commit into
PaperMC:masterfrom
VeVeVeVel:entity-tracking-range-by-Y
Sep 6, 2024
Merged

Change condition check order of entity tracking Y#11348
lynxplay merged 1 commit into
PaperMC:masterfrom
VeVeVeVel:entity-tracking-range-by-Y

Conversation

@VeVeVeVel
Copy link
Copy Markdown
Contributor

@VeVeVeVel VeVeVeVel commented Sep 1, 2024

Change the order so that other condition checks are performed after the x, y coordinate condition check.

Before: x z check -> broadcastToPlayer check -> ChunkMap.this.isChunkTracked check -> y check -> canSee check
After: x z check -> y check -> broadcastToPlayer check -> ChunkMap.this.isChunkTracked check -> canSee check

@VeVeVeVel VeVeVeVel requested a review from a team as a code owner September 1, 2024 10:49
@lynxplay lynxplay force-pushed the entity-tracking-range-by-Y branch from 5f46cfb to a2a706b Compare September 6, 2024 20:00
@lynxplay lynxplay merged commit 10f5879 into PaperMC:master Sep 6, 2024
LeonTG pushed a commit to LeonTG/Paper that referenced this pull request May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

3 participants