Skip to content

fix(minestom): preserve player profiles before entity spawn - #58

Merged
lusu007 merged 1 commit into
mainfrom
fix/lobby-player-visibility
Oct 17, 2026
Merged

lusu007 merged 1 commit into
mainfrom
fix/lobby-player-visibility

Conversation

@lusu007

@lusu007 lusu007 commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Players could appear in the lobby tab list while their entities remained invisible. Rank formatting cancelled the original ADD_PLAYER packet during socket queue draining and appended its replacement after an already queued entity spawn.

Preserve the original profile packet and send rank decoration as a separate UPDATE_DISPLAY_NAME. This keeps profile-before-spawn ordering and preserves viewer-specific rank formatting without requeueing ADD_PLAYER.

Validation: the deferred-queue regression failed before the fix for both Java and Bedrock viewers and passes afterward. It checks profile/spawn ordering, a single ADD_PLAYER, and bounded display updates. ./gradlew spotlessApply test build passes (247 tests, zero failures). Independent code review found no actionable issues. Live Minecraft client verification remains pending.

@lusu007
lusu007 merged commit 1d18c2f into main Oct 17, 2026
2 checks passed
@lusu007
lusu007 deleted the fix/lobby-player-visibility branch October 17, 2026 22:00
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.

1 participant