[GH-ISSUE #1375] [chat] Diamonds! announcement appears after the give success message #402

Closed
opened 2026-11-02 15:38:48 +07:00 by bsakaguchi · 0 comments
Owner

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

Shared parity bug, tested in both explicit singleplayer modes at 83fa14e51b89eab728b8e233e9e5d95296bef93d.

Reproduce in a fresh survival world with commands enabled:

  1. /advancement revoke @s everything
  2. /clear @s
  3. /give @s diamond

Expected: the Diamonds! advancement announcement appears before the give success, as in native 26.3 and the supplied reference screenshot.

Actual: both Horizon modes show Gave 1 [Diamond]... first, then the advancement. This order remains after processing completes; it is not a screenshot taken before delivery. The extra threaded admin echo is separately tracked in #1373.

Evidence: two fresh pairs, .local/singleplayer-audit/chat-{a,b}/feedback-*/result.json and diamond-feedback.png (logs are newest first). Native native-chat-reference/chat-components.jsonl records the same player's actual /give command producing advancement SystemChat before give-success SystemChat.

Hypothesis: Horizon evaluates inventory advancement triggers on a later tick, after command feedback is emitted.

Acceptance: inventory-triggered advancement announcements from /give retain native ordering relative to that command's success message in both modes.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1375 Shared parity bug, tested in both explicit singleplayer modes at `83fa14e51b89eab728b8e233e9e5d95296bef93d`. Reproduce in a fresh survival world with commands enabled: 1. `/advancement revoke @s everything` 2. `/clear @s` 3. `/give @s diamond` Expected: the Diamonds! advancement announcement appears before the give success, as in native 26.3 and the supplied reference screenshot. Actual: both Horizon modes show `Gave 1 [Diamond]...` first, then the advancement. This order remains after processing completes; it is not a screenshot taken before delivery. The extra threaded admin echo is separately tracked in #1373. Evidence: two fresh pairs, `.local/singleplayer-audit/chat-{a,b}/feedback-*/result.json` and `diamond-feedback.png` (logs are newest first). Native `native-chat-reference/chat-components.jsonl` records the same player's actual `/give` command producing advancement SystemChat before give-success SystemChat. Hypothesis: Horizon evaluates inventory advancement triggers on a later tick, after command feedback is emitted. Acceptance: inventory-triggered advancement announcements from `/give` retain native ordering relative to that command's success message in both modes.
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#402
No description provided.