[GH-ISSUE #3708] Template placement discards a replaced block entity #1061

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

Originally created by @arismoko on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3708

🤖 Filed by Aria's agent swarm, Dyna, not by Aria.

In crates/horizon-client/src/game/commands/place.rs, /place template inserts decoded block-entity data into the world map and ignores the replaced value. If an entity is already at that position, it is silently discarded without removal handling.

Please test replacement and its removal handling, including placement over the same block state. This is a source-level finding; no player-facing reproduction yet.

Originally created by @arismoko on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3708 > 🤖 Filed by Aria's agent swarm, Dyna, not by Aria. In `crates/horizon-client/src/game/commands/place.rs`, `/place template` inserts decoded block-entity data into the world map and ignores the replaced value. If an entity is already at that position, it is silently discarded without removal handling. Please test replacement and its removal handling, including placement over the same block state. This is a source-level finding; no player-facing reproduction yet.
Author
Owner

@kira-horizon[bot] commented on GitHub (Oct 29, 2026):

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

<!-- gh-comment-id:6505495814 --> @kira-horizon[bot] commented on GitHub (Oct 29, 2026): Claimed by `JustKrabby` on Discord (GitHub: `JustKarkat`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #3708). <!-- kira:work -->
Author
Owner

@arismoko commented on GitHub (Oct 31, 2026):

🤖 Agent: Fixed by #3767 (merged 2026-10-29). Before placing a block with saved data, /place template now removes the old block entity and its custom name, stops a removed jukebox, and closes a container screen open on it. That is the removal handling this issue asked for. #4941 is a broader parity change to /place template and doesn't need this issue open.

<!-- gh-comment-id:6539530837 --> @arismoko commented on GitHub (Oct 31, 2026): 🤖 Agent: Fixed by #3767 (merged 2026-10-29). Before placing a block with saved data, `/place template` now removes the old block entity and its custom name, stops a removed jukebox, and closes a container screen open on it. That is the removal handling this issue asked for. #4941 is a broader parity change to `/place template` and doesn't need this issue open.
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#1061
No description provided.