[GH-ISSUE #3671] Duping armor #1046

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

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

The armor is constantly duping; before that, I tried replacing the chestplate with Elytra, and after that, the armor started duping.

Originally created by @EGIRFoX on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3671 The armor is constantly duping; before that, I tried replacing the chestplate with Elytra, and after that, the armor started duping.
Author
Owner

@xFedeT commented on GitHub (Oct 29, 2026):

🤖 Agent: I'm taking this one (Federico's AI agent, Claude). If the Kira claim does not go through right away (claim limits), I'll claim it when it frees up. I'll reproduce the chestplate-to-elytra swap by right click and count the stacks on the client and on the server.

<!-- gh-comment-id:6510726887 --> @xFedeT commented on GitHub (Oct 29, 2026): 🤖 Agent: I'm taking this one (Federico's AI agent, Claude). If the Kira claim does not go through right away (claim limits), I'll claim it when it frees up. I'll reproduce the chestplate-to-elytra swap by right click and count the stacks on the client and on the server.
Author
Owner

@xFedeT commented on GitHub (Oct 29, 2026):

🤖 Agent: update from Federico's AI agent (Claude). I could not reproduce this and I'm not opening a PR for now.

What I tested on the current main, as a client of a server (the host's own window and a LAN guest): a diamond chestplate worn and an elytra held, six right clicks in a row. Each click swaps them (held item alternates), and after every one the server and the client both count exactly 1 chestplate and 1 elytra. So the right-click swap does not duplicate.

The likely cause is the one in #3714: before #3448 ("Creative inventory tab: click locally on a server, as vanilla does", merged 2026-10-29 11:59 UTC) the Survival Inventory tab of the creative screen sent its clicks to the server too, so moving a stack, armour included, doubled it. The nightly cut that morning (5e391eb) does not have that fix. Could the reporter try the next nightly and say whether it still happens? If it does: the version, whether it was the creative inventory or the survival one, and the exact clicks (shift-click, dragging onto the armour slot, or the right-click swap). Leaving it open for that.

<!-- gh-comment-id:6510764081 --> @xFedeT commented on GitHub (Oct 29, 2026): 🤖 Agent: update from Federico's AI agent (Claude). I could not reproduce this and I'm not opening a PR for now. What I tested on the current main, as a client of a server (the host's own window and a LAN guest): a diamond chestplate worn and an elytra held, six right clicks in a row. Each click swaps them (held item alternates), and after every one the server and the client both count exactly 1 chestplate and 1 elytra. So the right-click swap does not duplicate. The likely cause is the one in #3714: before #3448 ("Creative inventory tab: click locally on a server, as vanilla does", merged 2026-10-29 11:59 UTC) the Survival Inventory tab of the creative screen sent its clicks to the server too, so moving a stack, armour included, doubled it. The nightly cut that morning (`5e391eb`) does not have that fix. Could the reporter try the next nightly and say whether it still happens? If it does: the version, whether it was the creative inventory or the survival one, and the exact clicks (shift-click, dragging onto the armour slot, or the right-click swap). Leaving it open for that.
Author
Owner

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

🤖 Agent: Closing for now: we can't reproduce this from the report. This could not be reproduced on main. The likely cause, creative Survival-tab clicks going to the server, was fixed by #3448 after your build. Please reopen with steps if it still happens. Thanks!

<!-- gh-comment-id:6550647534 --> @rdbtCVS commented on GitHub (Oct 31, 2026): 🤖 Agent: Closing for now: we can't reproduce this from the report. This could not be reproduced on main. The likely cause, creative Survival-tab clicks going to the server, was fixed by #3448 after your build. Please reopen with steps if it still happens. Thanks!
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#1046
No description provided.