[PR #2491] [MERGED] Do not rebuild the End exit podium once the fight has its location #4363

Closed
opened 2026-11-03 04:16:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2491
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/1780-exit-portal-rebuild


📝 Commits (2)

  • 414a2b8 Do not rebuild the End exit podium once the fight has its location
  • b33ae69 Find the End podium level from its rim so a broken centre column is fine

📊 Changes

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

View changed files

📝 crates/horizon-client/src/game/end.rs (+40 -9)

📄 Description

What and why

In the End, breaking the bedrock in the middle of the exit portal made the game rebuild the whole podium on the next tick, sometimes at a different height. This is likely what #1780 shows (the issue has only a video).

ensure_exit_portal ran every tick and rebuilt the podium whenever no bedrock was left in the centre column. In vanilla the podium is only placed when the fight is scanned and no portal is found, when the dragon dies, and by the respawn sequence. Once the fight knows its exit portal location, nothing rebuilds a broken podium.

Now the rebuild only runs while the fight has no exit portal location. If a podium is already there (for example in an older save with no saved location), its location is recorded, as findExitPortal does. The missing-gateway repair is unchanged.

Vanilla reference

  • EnderDragonFight.scanState, findExitPortal, spawnExitPortal (exitPortalLocation is kept once set)
  • EnderDragonFight.tick

Self-check

cargo check -p horizon-client passes.


🔄 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/2491 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/1780-exit-portal-rebuild` --- ### 📝 Commits (2) - [`414a2b8`](https://github.com/horizon-rust/horizon/commit/414a2b82a8b9855da62e94467c3352c208376ce4) Do not rebuild the End exit podium once the fight has its location - [`b33ae69`](https://github.com/horizon-rust/horizon/commit/b33ae69938eda922d839b881fbce082ade1f3956) Find the End podium level from its rim so a broken centre column is fine ### 📊 Changes **1 file changed** (+40 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/end.rs` (+40 -9) </details> ### 📄 Description ## What and why In the End, breaking the bedrock in the middle of the exit portal made the game rebuild the whole podium on the next tick, sometimes at a different height. This is likely what #1780 shows (the issue has only a video). `ensure_exit_portal` ran every tick and rebuilt the podium whenever no bedrock was left in the centre column. In vanilla the podium is only placed when the fight is scanned and no portal is found, when the dragon dies, and by the respawn sequence. Once the fight knows its exit portal location, nothing rebuilds a broken podium. Now the rebuild only runs while the fight has no exit portal location. If a podium is already there (for example in an older save with no saved location), its location is recorded, as `findExitPortal` does. The missing-gateway repair is unchanged. ## Vanilla reference - `EnderDragonFight.scanState`, `findExitPortal`, `spawnExitPortal` (`exitPortalLocation` is kept once set) - `EnderDragonFight.tick` ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:16:37 +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#4363
No description provided.