[GH-ISSUE #3530] Leather armor shows brown on other players instead of their dyed color #1011

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

Originally created by @kira-horizon[bot] on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3530

Version: nightly-2026-10-28-6f8c7a0 · OS: Windows 11, i31200f, 1650 gtx (copied from the report)

What I did: He looked at the armor of others on the server.

What happened: Everyone’s armor was ordinary and unpainted, although mine is white, while everyone else’s is brown.

What I expected: Everyone should have their own color for the armor, but everyone’s was just brown, even though mine was displayed correctly.

Horizon version: nightly-2026-10-28-6f8c7a0

OS, CPU, GPU: Windows 11, i31200f, 1650 gtx.

Reported on Discord by Kreklin in #horizon-bugs · Discord thread
Tags: gameplay

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3530 **Version:** nightly-2026-10-28-6f8c7a0 · **OS:** Windows 11, i31200f, 1650 gtx <sub>(copied from the report)</sub> > What I did: He looked at the armor of others on the server. > > What happened: Everyone’s armor was ordinary and unpainted, although mine is white, while everyone else’s is brown. > > What I expected: Everyone should have their own color for the armor, but everyone’s was just brown, even though mine was displayed correctly. > > Horizon version: nightly-2026-10-28-6f8c7a0 > > OS, CPU, GPU: Windows 11, i31200f, 1650 gtx. Reported on Discord by **Kreklin** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565245726160847009) Tags: gameplay <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:43:35 +07:00
Author
Owner

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

Kreklin added on Discord:

(no text)

<!-- gh-comment-id:6489385857 --> @kira-horizon[bot] commented on GitHub (Oct 29, 2026): **Kreklin** added on Discord: > (no text) - [image.png](https://cdn.discordapp.com/attachments/1565245726160847009/1565245950681677885/image.png?ex=6ae43463&is=6ae2e2e3&hm=bcc2b9d5fee5a0ef43e78be57c882f10e0331edc5518c0126c9a817d2f9cf53d&) - [image.png](https://cdn.discordapp.com/attachments/1565245726160847009/1565245951092985916/image.png?ex=6ae43463&is=6ae2e2e3&hm=4ce1b640476970a2e1d042b3e197ef3991611677186a53943107f27a8093937b&) <!-- kira -->
Author
Owner

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

ы

<!-- gh-comment-id:6489397001 --> @Kreklinok commented on GitHub (Oct 29, 2026): ы
Author
Owner

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

Kreklin added on Discord:

(no text)

<!-- gh-comment-id:6489529752 --> @kira-horizon[bot] commented on GitHub (Oct 29, 2026): **Kreklin** added on Discord: > (no text) - [image.png](https://cdn.discordapp.com/attachments/1565245726160847009/1565246450022223872/image.png?ex=6ae434da&is=6ae2e35a&hm=04ceb00f37c3c1ab0d5343072e66c9a91e277d79bf47abae38afd58b3dd0f698&) - [image.png](https://cdn.discordapp.com/attachments/1565245726160847009/1565246451070533633/image.png?ex=6ae434da&is=6ae2e35a&hm=36e17b44419760bb1694487eec1572b09bb9a85463ec7bba23743ea5125a17fe&) <!-- kira -->
Author
Owner

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

🤖 Agent: triage by d3grando's AI agent (Claude Code), not by d3grando themselves.

This looks fixed on main already. The report is from nightly-2026-10-28-6f8c7a0. #2851 (fix/dyed-armor-colour, merged 2026-10-29 00:47 UTC+1) landed after that build. It changed three places:

  • game/remote.rs SetEquipment: the client now keeps another player's worn armour stacks (extra.armor), not just their item ids.
  • game/armor_stands.rs worn_armor_layers: other players' armour layers are drawn from those stacks, so layer_color sees minecraft:dyed_color.
  • game/lan.rs mob_equipment: the server sends worn armour with its stack.

Before #2851, worn_armor_layers passed None as the stack, so every remote player's leather showed the undyed 0xA06540 brown. That matches the screenshots in this issue.

Checked on main 9e4903787 with two real games over LAN on Windows: the host runs on its server thread and the guest connects to 127.0.0.1.

  • Host: red tunic and pants, white cap. Guest: blue tunic, green pants, white cap.
  • The host sees the guest in blue and green.
  • The guest sees the host in red.
  • Both see the cap in its white dye.

@Kreklinok, could you check with a nightly from 2026-10-29 or later and say whether other players' armour now shows their colours? If it does, this can be closed.

Two separate things I noticed while checking (not this bug, and not changed here):

  • Leather horse armour still ignores its dye. mobs/render.rs always tints it 0xA06540, and the horse's body slot keeps only the item id. Only a wolf's body armour keeps its components (extra.body_extra), so a dyed horse armour loses its colour when equipped, saved and sent.
  • On the host, /item replace entity <guest name> armor.chest with ... answered "The target does not have slot armor.chest". The same command run by the guest on itself (@s) worked.
<!-- gh-comment-id:6492787910 --> @d3grando commented on GitHub (Oct 29, 2026): 🤖 Agent: triage by d3grando's AI agent (Claude Code), not by d3grando themselves. This looks fixed on main already. The report is from `nightly-2026-10-28-6f8c7a0`. #2851 (`fix/dyed-armor-colour`, merged 2026-10-29 00:47 UTC+1) landed after that build. It changed three places: - `game/remote.rs` `SetEquipment`: the client now keeps another player's worn armour **stacks** (`extra.armor`), not just their item ids. - `game/armor_stands.rs` `worn_armor_layers`: other players' armour layers are drawn from those stacks, so `layer_color` sees `minecraft:dyed_color`. - `game/lan.rs` `mob_equipment`: the server sends worn armour with its stack. Before #2851, `worn_armor_layers` passed `None` as the stack, so every remote player's leather showed the undyed `0xA06540` brown. That matches the screenshots in this issue. **Checked on main `9e4903787`** with two real games over LAN on Windows: the host runs on its server thread and the guest connects to `127.0.0.1`. - Host: red tunic and pants, white cap. Guest: blue tunic, green pants, white cap. - The host sees the guest in blue and green. - The guest sees the host in red. - Both see the cap in its white dye. <!-- screenshots: C:\Users\degrando\horizon-bench\results\fix-3530\main-host-sees.png, C:\Users\degrando\horizon-bench\results\fix-3530\main-guest-sees.png --> @Kreklinok, could you check with a nightly from 2026-10-29 or later and say whether other players' armour now shows their colours? If it does, this can be closed. Two separate things I noticed while checking (not this bug, and not changed here): - Leather **horse** armour still ignores its dye. `mobs/render.rs` always tints it `0xA06540`, and the horse's body slot keeps only the item id. Only a wolf's body armour keeps its components (`extra.body_extra`), so a dyed horse armour loses its colour when equipped, saved and sent. - On the host, `/item replace entity <guest name> armor.chest with ...` answered "The target does not have slot armor.chest". The same command run by the guest on itself (`@s`) worked.
Author
Owner

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

Everything is working, thank you.

<!-- gh-comment-id:6496514373 --> @Kreklinok commented on GitHub (Oct 29, 2026): Everything is working, thank you.
Author
Owner

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

🤖 Agent: written by degepie's AI agent (Claude Code, Claude Opus 5.5), not by degepie personally. This can be closed: d3grando's triage above points to #2851, and the reporter confirmed that everything works now ("Everything is working, thank you.").

<!-- gh-comment-id:6524839431 --> @degepie commented on GitHub (Oct 30, 2026): 🤖 Agent: written by degepie's AI agent (Claude Code, Claude Opus 5.5), not by degepie personally. This can be closed: d3grando's triage above points to #2851, and the reporter confirmed that everything works now ("Everything is working, thank you.").
Author
Owner

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

This looks fixed on main: #2851 (08c67f3d2): other players' dyed armour colour drawn from their stacks. Closing; if it still happens on the latest build, please reopen with your version and logs/latest.log.

<!-- gh-comment-id:6527752574 --> @kacpherek commented on GitHub (Oct 30, 2026): This looks fixed on main: #2851 (08c67f3d2): other players' dyed armour colour drawn from their stacks. Closing; if it still happens on the latest build, please reopen with your version and `logs/latest.log`.
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#1011
No description provided.