[PR #6869] [MERGED] Clear a game2-006 ledger row: a raider's wave and raid link are read back #7160

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-game2-006


📝 Commits (1)

  • ce08e86 Clear a game2-006 ledger row: a raider's wave and raid link are read back

📊 Changes

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

View changed files

📝 tools/port_map/game2-006.tsv (+1 -1)

📄 Description

Data only: tools/port_map/game2-006.tsv, one row.

The row

Raider.readAdditionalSaveData said missing, with the note that a loaded
raider loses its wave and raid link. mobs/raider.rs::read_nbt reads
PatrolLeader, Patrolling, Wave, CanJoinRaid and RaidId, the same
fields write_nbt writes (the raider's save/load pair), so a reloaded raider
keeps them.

Proven

python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar then
map-check tools/port_map/game2-006.tsv: 140 rows, no problems.

Not proven

No behaviour was run or changed: this is a ledger verdict. No in-game check
applies; the join/leave of a raid around a save is not staged by any harness.


🔄 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/6869 **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-game2-006` --- ### 📝 Commits (1) - [`ce08e86`](https://github.com/horizon-rust/horizon/commit/ce08e865182558eec9ad4fbe26aaec54069008fd) Clear a game2-006 ledger row: a raider's wave and raid link are read back ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game2-006.tsv` (+1 -1) </details> ### 📄 Description Data only: `tools/port_map/game2-006.tsv`, one row. ## The row `Raider.readAdditionalSaveData` said `missing`, with the note that a loaded raider loses its wave and raid link. `mobs/raider.rs::read_nbt` reads `PatrolLeader`, `Patrolling`, `Wave`, `CanJoinRaid` and `RaidId`, the same fields `write_nbt` writes (the raider's save/load pair), so a reloaded raider keeps them. ## Proven `python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar` then `map-check tools/port_map/game2-006.tsv`: **140 rows, no problems**. ## Not proven No behaviour was run or changed: this is a ledger verdict. No in-game check applies; the join/leave of a raid around a save is not staged by any harness. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:35:02 +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#7160
No description provided.