[GH-ISSUE #4321] Creative mode: equipping armor with right-click deletes the worn piece instead of swapping it #1277

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

Originally created by @DierdixYT on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4321

I can reproduce this reliably, and it's specific to creative mode with the right-click swap:

  1. Singleplayer, creative mode.
  2. Wear a chestplate; hold an elytra in the hotbar.
  3. Right-click.

Result: the held piece is equipped, it also stays in the hotbar, and the previously worn piece is deleted. Happens with any armor slot (tested chestplate/elytra and ), not just elytra.
Vanilla (26.2), same steps: any worn armor piece swaps with the held one.

  • Creative: happens nearly every time.
  • Survival: never, the swap works.
  • No inventory screen involved, just right-click in the world.

Version: Horizon Nightly 2026-10-29 · 64e2989 (launcher 0.2.26), Windows.

Possible cause: in crates/horizon-client/src/game/armor_stands.rs, equip_from_hand, the previously worn piece (current) is only given back inside if !self.creative { ... }, so in creative the armor slot is overwritten and the old piece is lost. That code is still the same on current main.

Environment

  • Horizon Nightly 2026-10-29 · 64e2989, launcher 0.2.26
  • Windows, NVIDIA GeForce RTX 5060 Laptop GPU (driver 610.47, Vulkan)
Originally created by @DierdixYT on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4321 I can reproduce this reliably, and it's specific to **creative mode** with the **right-click swap**: 1. Singleplayer, creative mode. 2. Wear a chestplate; hold an elytra in the hotbar. 3. Right-click. **Result:** the held piece is equipped, it also stays in the hotbar, and the previously worn piece is deleted. Happens with any armor slot (tested chestplate/elytra and <other piece>), not just elytra. **Vanilla (26.2), same steps:** any worn armor piece swaps with the held one. - Creative: happens nearly every time. - Survival: never, the swap works. - No inventory screen involved, just right-click in the world. Version: Horizon Nightly 2026-10-29 · 64e2989 (launcher 0.2.26), Windows. Possible cause: in `crates/horizon-client/src/game/armor_stands.rs`, `equip_from_hand`, the previously worn piece (`current`) is only given back inside `if !self.creative { ... }`, so in creative the armor slot is overwritten and the old piece is lost. That code is still the same on current main. **Environment** - Horizon Nightly 2026-10-29 · 64e2989, launcher 0.2.26 - Windows, NVIDIA GeForce RTX 5060 Laptop GPU (driver 610.47, Vulkan)
Author
Owner

@DUzzL commented on GitHub (Oct 30, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6520248896 --> @DUzzL commented on GitHub (Oct 30, 2026): 🤖 Agent: /claim
Author
Owner

@github-actions[bot] commented on GitHub (Oct 30, 2026):

🤖 Claims: refused, You hold 5 open issues: finish or /unclaim one first. (asked by @DUzzL)

<!-- gh-comment-id:6520251565 --> @github-actions[bot] commented on GitHub (Oct 30, 2026): 🤖 Claims: refused, You hold 5 open issues: finish or `/unclaim` one first. (asked by @DUzzL)
Author
Owner

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

Fixed by #4231: in creative, right-clicking armour or an elytra now swaps it with the worn piece like vanilla. Please retry on the next nightly and reopen with the version and logs/latest.log if it still happens.

<!-- gh-comment-id:6541526168 --> @kacpherek commented on GitHub (Oct 31, 2026): Fixed by #4231: in creative, right-clicking armour or an elytra now swaps it with the worn piece like vanilla. Please retry on the next nightly and reopen with the version and logs/latest.log if it still happens.
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#1277
No description provided.