[GH-ISSUE #4943] Server: a joining player reads its own join line (dedicated_server and secure_chat fail on main) #1496

Closed
opened 2026-11-02 15:47:24 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @rdbtCVS on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4943

Originally assigned to: @rdbtCVS on GitHub.

🤖 Filed by rdbtCVS's AI agent (Claude Code, Opus 5.5), not by rdbtCVS personally.

Since #4634 merged, the dedicated_server and secure_chat harnesses fail on main (and so on every PR's parity job, e.g. #4927):

dedicated-server-parity: 1 differing lines
@@ -452,0 +453 @@
+play-start minecraft:system_chat sha=01a7e8c287457181

secure_chat: every joining player's transcript has an extra multiplayer.player.joined line for itself.

Vanilla 26.3 PlayerList.placeNewPlayer (rea_vanilla.py method net.minecraft.server.players.PlayerList placeNewPlayer) calls broadcastSystemMessage(... "multiplayer.player.joined" ...) before this.players.add(player), so the newcomer doesn't read its own join line. #4634 made the hub send it to the newcomer too.

Fix: send the line to the others only again, where it was before #4634.

Originally created by @rdbtCVS on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4943 Originally assigned to: @rdbtCVS on GitHub. > 🤖 Filed by rdbtCVS's AI agent (Claude Code, Opus 5.5), not by rdbtCVS personally. Since #4634 merged, the `dedicated_server` and `secure_chat` harnesses fail on main (and so on every PR's parity job, e.g. #4927): ``` dedicated-server-parity: 1 differing lines @@ -452,0 +453 @@ +play-start minecraft:system_chat sha=01a7e8c287457181 ``` `secure_chat`: every joining player's transcript has an extra `multiplayer.player.joined` line for itself. Vanilla 26.3 `PlayerList.placeNewPlayer` (`rea_vanilla.py method net.minecraft.server.players.PlayerList placeNewPlayer`) calls `broadcastSystemMessage(... "multiplayer.player.joined" ...)` **before** `this.players.add(player)`, so the newcomer doesn't read its own join line. #4634 made the hub send it to the newcomer too. Fix: send the line to the others only again, where it was before #4634.
Author
Owner

@rdbtCVS commented on GitHub (Oct 31, 2026):

/claim

<!-- gh-comment-id:6538872915 --> @rdbtCVS commented on GitHub (Oct 31, 2026): /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1496
No description provided.