[PR #6998] [MERGED] Clear stale rest-020.tsv row main already implements #7259

Closed
opened 2026-11-03 06:36:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6998
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-rest-020


📝 Commits (1)

  • 499788f Clear the stale rest-020 team death message row

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 tools/port_map/rest-020.tsv (+1 -1)

📄 Description

tools/port_map/rest-020.tsv: one row whose missing verdict no longer matches the tree.

  • PlayerList.broadcastSystemToAllExceptTeam -> port crates/horizon-client-core/src/scoreboard.rs::death_message_reaches: under HideForOwnTeam the message reaches everyone outside the dying player's team and not the team itself; Game::death_message uses that predicate for the LAN hub broadcast (system_message_to) and for the local chat line. With no team, every player gets it, as the vanilla method broadcasts to all when getTeam() is null.

map-check (last build of the same 26.3 jar): python3 tools/port_ledger.py map-check tools/port_map/rest-020.tsv - 149 rows, no problems.

Proven: javap on 26.3 shows the method sends to every listed player whose team differs from the dying player's (Player.getTeam, ServerPlayer.sendSystemMessage), and broadcasts to all when there is no team; death_message_reaches has exactly those two arms (no team -> true, HideForOwnTeam -> !same_team) and both death-message call sites check it.

Not proven: PlayerList.locateStatsFile (no name-to-uuid move for old stats/advancements files; stats::player_json builds the uuid path only) and TagNetworkSerialization.deserializeTagsFromNetwork (the configuration phase reads UpdateTags but Dynamic::add_tags keeps only minecraft:dialog tags, so server item/block tags are still not applied); their verdicts stay missing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6998 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-rest-020` --- ### 📝 Commits (1) - [`499788f`](https://github.com/horizon-rust/horizon/commit/499788ffcf16fed99daaf415788d0e10baed0d6c) Clear the stale rest-020 team death message row ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-020.tsv` (+1 -1) </details> ### 📄 Description `tools/port_map/rest-020.tsv`: one row whose `missing` verdict no longer matches the tree. - `PlayerList.broadcastSystemToAllExceptTeam` -> port `crates/horizon-client-core/src/scoreboard.rs::death_message_reaches`: under `HideForOwnTeam` the message reaches everyone outside the dying player's team and not the team itself; `Game::death_message` uses that predicate for the LAN hub broadcast (`system_message_to`) and for the local chat line. With no team, every player gets it, as the vanilla method broadcasts to all when `getTeam()` is null. map-check (last build of the same 26.3 jar): `python3 tools/port_ledger.py map-check tools/port_map/rest-020.tsv` - `149 rows, no problems.` **Proven:** javap on 26.3 shows the method sends to every listed player whose team differs from the dying player's (`Player.getTeam`, `ServerPlayer.sendSystemMessage`), and broadcasts to all when there is no team; `death_message_reaches` has exactly those two arms (no team -> true, `HideForOwnTeam` -> `!same_team`) and both death-message call sites check it. **Not proven:** `PlayerList.locateStatsFile` (no name-to-uuid move for old stats/advancements files; `stats::player_json` builds the uuid path only) and `TagNetworkSerialization.deserializeTagsFromNetwork` (the configuration phase reads `UpdateTags` but `Dynamic::add_tags` keeps only `minecraft:dialog` tags, so server item/block tags are still not applied); their verdicts stay `missing`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:36:35 +07:00
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#7259
No description provided.