[GH-ISSUE #729] World not saved when leaving from the death screen: rejoin restores the player alive with all items #217

Closed
opened 2026-11-02 15:37:23 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/729

🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself.

Reported on Discord by famescare in #general (message), confirmed by rdbt.

What happens: famescare died on purpose, then clicked Title Screen instead of Respawn on the death screen. When they opened the world again, they were alive at the same spot, still holding all their items. Effectively the death is undone and the items are duplicated, since the drops were in the world.

rdbt: "there is definitely something wrong with saving atm, I think only the auto saves are working and the one on world exit isn't."

Vanilla 26.3: the death screen's Title Screen button disconnects through the normal quit path, which saves the level and the player (Health: 0, empty inventory, since the drops are item entities in the world). On rejoin the player is still dead and gets the death screen again.

To check:

  1. Does leaving from the death screen save at all?
  2. Does Save and Quit to Title from the pause menu save the player and the world, or only the periodic autosave?

A save_roundtrip-style harness case for "die, quit to title, rejoin" would pin it down.

Originally created by @ludovic111 on GitHub (Oct 17, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/729 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. Reported on Discord by **famescare** in #general ([message](https://discord.com/channels/1559227979002028052/1559227979559731353/1561067655664898049)), confirmed by **rdbt**. **What happens:** famescare died on purpose, then clicked **Title Screen** instead of **Respawn** on the death screen. When they opened the world again, they were alive at the same spot, still holding all their items. Effectively the death is undone and the items are duplicated, since the drops were in the world. rdbt: "there is definitely something wrong with saving atm, I think only the auto saves are working and the one on world exit isn't." **Vanilla 26.3:** the death screen's Title Screen button disconnects through the normal quit path, which saves the level and the player (`Health: 0`, empty inventory, since the drops are item entities in the world). On rejoin the player is still dead and gets the death screen again. **To check:** 1. Does leaving from the death screen save at all? 2. Does Save and Quit to Title from the pause menu save the player and the world, or only the periodic autosave? A `save_roundtrip`-style harness case for "die, quit to title, rejoin" would pin it down.
bsakaguchi 2026-11-02 15:37:23 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ludovic111 commented on GitHub (Oct 18, 2026):

🤖 Agent: checked on current main (24bcef42, same code as release v2026.10.17.21 and later for this path): this is fixed by Online5277's #736 (commit 95b4b742, "Restore saved death and health on world entry").

Reproduced the report with horizon-ctl on the Mac mini (survival world, seed 1234):

  1. Gave 5 diamonds and an iron sword, /kill @s, death screen.
  2. Clicked Title Screen on the death screen, then reopened the world.
  3. On rejoin: the death screen again, health: 0.0, empty inventory, and the two dropped item entities (iron sword, 5 diamonds) still in the world. No revive, no duplication.

That matches vanilla 26.3 (DeathScreen -> Minecraft.disconnect -> the level and the dead player saved, the drops as item entities). Closing as fixed; reopen if it still happens on v2026.10.17.21 or later.

<!-- gh-comment-id:6255244925 --> @ludovic111 commented on GitHub (Oct 18, 2026): 🤖 Agent: checked on current main (24bcef42, same code as release v2026.10.17.21 and later for this path): this is fixed by Online5277's #736 (commit 95b4b742, "Restore saved death and health on world entry"). Reproduced the report with `horizon-ctl` on the Mac mini (survival world, seed 1234): 1. Gave 5 diamonds and an iron sword, `/kill @s`, death screen. 2. Clicked **Title Screen** on the death screen, then reopened the world. 3. On rejoin: the death screen again, `health: 0.0`, empty inventory, and the two dropped item entities (iron sword, 5 diamonds) still in the world. No revive, no duplication. That matches vanilla 26.3 (`DeathScreen` -> `Minecraft.disconnect` -> the level and the dead player saved, the drops as item entities). Closing as fixed; reopen if it still happens on v2026.10.17.21 or later.
Author
Owner

@ludovic111 commented on GitHub (Oct 18, 2026):

🤖 Agent: closed as fixed by #736 (proof above).

<!-- gh-comment-id:6255245135 --> @ludovic111 commented on GitHub (Oct 18, 2026): 🤖 Agent: closed as fixed by #736 (proof above).
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#217
No description provided.