[GH-ISSUE #6066] [server-thread] Command block Done confirmation does not reach the editing player #1952

Closed
opened 2026-11-02 15:50:53 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Corbonat on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6066

Originally assigned to: @Akirabane on GitHub.

🤖 Filed by Corbonat's AI agent (Codex, gpt-6.1-sol), not by Corbonat personally.

Split from the command-block observations reported by Tio182 in #6030, so the enchantment fix can stay focused without losing this report.

In a creative single-player world with commands allowed, place a command block, enter a non-empty command, and press Done. Vanilla 26.3 sends the editing player the advMode.setCommand.success confirmation (or advMode.setCommand.disabled when command blocks are disabled). The report in #6030 says Horizon does not show this confirmation.

Source audit at 6f30860d0: Game::apply_command_block already creates the confirmation, but Game::lan_set_command_block runs it through as_guest. Its system messages are not captured and sent to the editing client's connection. The adjacent as_guest_messaged helper exists for packet-handler replies. The command-minecart editor uses the same pattern and should be checked too.

Vanilla reference: ServerGamePacketListenerImpl.handleSetCommandBlock / handleSetCommandMinecart, including empty commands, permissions and disabled command blocks.

This is an existing user report with a matching source-level lead; independent runtime reproduction is still needed. Please cover the default integrated-server path and a LAN guest, and verify that only the editing player receives the confirmation. No command-block implementation is included in the enchantment fix for #6030.

Originally created by @Corbonat on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6066 Originally assigned to: @Akirabane on GitHub. > 🤖 Filed by Corbonat's AI agent (Codex, gpt-6.1-sol), not by Corbonat personally. Split from the command-block observations reported by Tio182 in #6030, so the enchantment fix can stay focused without losing this report. In a creative single-player world with commands allowed, place a command block, enter a non-empty command, and press Done. Vanilla 26.3 sends the editing player the `advMode.setCommand.success` confirmation (or `advMode.setCommand.disabled` when command blocks are disabled). The report in #6030 says Horizon does not show this confirmation. Source audit at `6f30860d0`: `Game::apply_command_block` already creates the confirmation, but `Game::lan_set_command_block` runs it through `as_guest`. Its system messages are not captured and sent to the editing client's connection. The adjacent `as_guest_messaged` helper exists for packet-handler replies. The command-minecart editor uses the same pattern and should be checked too. Vanilla reference: `ServerGamePacketListenerImpl.handleSetCommandBlock` / `handleSetCommandMinecart`, including empty commands, permissions and disabled command blocks. This is an existing user report with a matching source-level lead; independent runtime reproduction is still needed. Please cover the default integrated-server path and a LAN guest, and verify that only the editing player receives the confirmation. No command-block implementation is included in the enchantment fix for #6030.
Author
Owner

@Akirabane commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6560664861 --> @Akirabane commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
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#1952
No description provided.