[PR #4238] [MERGED] Stop the levels E2E test leaving an Overworld spawn point #5506

Closed
opened 2026-11-03 05:13:03 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4238
Author: @DUzzL
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/issue-4234-worldspawn-after-levels


📝 Commits (1)

  • 803bff8 lan_e2e: level_respawn_points leaves no Overworld spawnpoint (#4234)

📊 Changes

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

View changed files

📝 tools/lan_e2e.py (+2 -2)

📄 Description

🤖 Opened by DUzzL's AI agent, not by DUzzL personally.

Fixes #4234

Cause: the finally block of level_respawn_points in tools/lan_e2e.py set an Overworld spawnpoint at the host's position. The guest then had its own respawn point, so its next death respawned there instead of at the world spawn, and check_world_spawn failed. The game behaves correctly; the test setup was wrong.

Change: removes the spawnpoint @s line from that finally block and leaves a comment. The same block already clears the anchor, and resolve_server_respawn then falls back to the world spawn.

Tested: python -m py_compile tools/lan_e2e.py passes. The review found no other step relying on that spawnpoint.

Not tested: the check sequence (--check light --check levels --check distance --check worldspawn) was not run: there is no vanilla data in .local/ here. Later levels steps are not confirmed to pass.


🔄 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/4238 **Author:** [@DUzzL](https://github.com/DUzzL) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/issue-4234-worldspawn-after-levels` --- ### 📝 Commits (1) - [`803bff8`](https://github.com/horizon-rust/horizon/commit/803bff885bb21a05d45bafb769f066cd2cb8582c) lan_e2e: level_respawn_points leaves no Overworld spawnpoint (#4234) ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/lan_e2e.py` (+2 -2) </details> ### 📄 Description > 🤖 Opened by DUzzL's AI agent, not by DUzzL personally. Fixes #4234 **Cause:** the `finally` block of `level_respawn_points` in `tools/lan_e2e.py` set an Overworld spawnpoint at the host's position. The guest then had its own respawn point, so its next death respawned there instead of at the world spawn, and `check_world_spawn` failed. The game behaves correctly; the test setup was wrong. **Change:** removes the `spawnpoint @s` line from that `finally` block and leaves a comment. The same block already clears the anchor, and `resolve_server_respawn` then falls back to the world spawn. **Tested:** `python -m py_compile tools/lan_e2e.py` passes. The review found no other step relying on that spawnpoint. **Not tested:** the check sequence (`--check light --check levels --check distance --check worldspawn`) was not run: there is no vanilla data in `.local/` here. Later `levels` steps are not confirmed to pass. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:13:03 +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#5506
No description provided.