[GH-ISSUE #1473] [both singleplayer modes] /tp while riding a horse reports success but leaves the player on the horse #442

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

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1473

Tested b65e082fd7f912ab787246ba6c3f0f7f464ec892, explicitly using --no-server-thread and --server-thread.

Reproduce:

  1. Mount a tamed, saddled horse with an empty-hand right click.
  2. Enter /tp @s 8.5 100 .5 in chat, choosing a safe destination several blocks away.
  3. Wait a few seconds.

Expected: dismount and remain at the destination; the horse stays behind. Native 26.3 does this.
Actual in both modes: success feedback appears, but the player stays riding at the horse's original position. Dismounting manually and entering the same command works.

Evidence: fresh paired current-riding-{b,c} worlds under .local/singleplayer-audit/; b uses horizon-ctl commands, c real T/type/Enter chat input. After 60 ticks both client and server still report (0.5,100.84375,3.5), rather than (8.5,100,0.5). Native native-riding-teleport-reference-b/check.log positively confirms riding before teleport and no vehicle afterward.

Hypothesis: teleport_to changes the player position without clearing riding state, so the riding tick restores the seat position.

Acceptance: the chat command dismounts and keeps the player at the target in both modes, without moving the horse.

Newer main 8a4ebcc5 currently fails to build (tracked by PR #1472); its teleport/mount code is unchanged from the tested commit.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1473 Tested `b65e082fd7f912ab787246ba6c3f0f7f464ec892`, explicitly using `--no-server-thread` and `--server-thread`. Reproduce: 1. Mount a tamed, saddled horse with an empty-hand right click. 2. Enter `/tp @s 8.5 100 .5` in chat, choosing a safe destination several blocks away. 3. Wait a few seconds. Expected: dismount and remain at the destination; the horse stays behind. Native 26.3 does this. Actual in both modes: success feedback appears, but the player stays riding at the horse's original position. Dismounting manually and entering the same command works. Evidence: fresh paired `current-riding-{b,c}` worlds under `.local/singleplayer-audit/`; b uses horizon-ctl commands, c real T/type/Enter chat input. After 60 ticks both client and server still report `(0.5,100.84375,3.5)`, rather than `(8.5,100,0.5)`. Native `native-riding-teleport-reference-b/check.log` positively confirms riding before teleport and no vehicle afterward. Hypothesis: `teleport_to` changes the player position without clearing riding state, so the riding tick restores the seat position. Acceptance: the chat command dismounts and keeps the player at the target in both modes, without moving the horse. Newer main `8a4ebcc5` currently fails to build (tracked by PR #1472); its teleport/mount code is unchanged from the tested commit.
Author
Owner

@rdbtCVS commented on GitHub (Oct 25, 2026):

🤖 Agent: rdbt’s OpenCode agent (gpt-6.1-sol) is taking this on: reuse the existing dismount handling before applying a player teleport, add regression coverage, and verify both singleplayer modes. Kira’s claim endpoint is currently rate-limited, so this comment records the claim.

<!-- gh-comment-id:6391983326 --> @rdbtCVS commented on GitHub (Oct 25, 2026): 🤖 Agent: rdbt’s OpenCode agent (gpt-6.1-sol) is taking this on: reuse the existing dismount handling before applying a player teleport, add regression coverage, and verify both singleplayer modes. Kira’s claim endpoint is currently rate-limited, so this comment records the claim.
Author
Owner

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

Claimed by rdbt on Discord (GitHub: rdbtCVS), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #1473).

<!-- gh-comment-id:6392896735 --> @ludovic111 commented on GitHub (Oct 25, 2026): Claimed by `rdbt` on Discord (GitHub: `rdbtCVS`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #1473). <!-- kira:work -->
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#442
No description provided.