[PR #4063] [MERGED] Preserve item modifier custom name components #5392

Closed
opened 2026-11-03 05:12:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4063
Author: @arismoko
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: fix/command-loot-name-parity


📝 Commits (1)

  • 8eb2ecf Preserve loot name components in item commands

📊 Changes

2 files changed (+28 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/game/commands/items.rs (+4 -3)
📝 crates/horizon-items/src/item_data.rs (+24 -0)

📄 Description

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

Preserve the original custom-name component when an item modifier sets it. This fixes the command execution parity regression introduced by #3341 and follows vanilla SetNameFunction.run and Component.tryCollapseToString.

Checks: fresh Java 25 command_exec parity; cargo test -p horizon-items; cargo test -p horizon-client --lib --bins --tests; port ledger check.

🤖 Generated with Dyna


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4063 **Author:** [@arismoko](https://github.com/arismoko) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/command-loot-name-parity` --- ### 📝 Commits (1) - [`8eb2ecf`](https://github.com/horizon-rust/horizon/commit/8eb2ecfa76377911902accc5751ad330b8733610) Preserve loot name components in item commands ### 📊 Changes **2 files changed** (+28 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/commands/items.rs` (+4 -3) 📝 `crates/horizon-items/src/item_data.rs` (+24 -0) </details> ### 📄 Description > 🤖 Opened by Aria's agent swarm, Dyna, not by Aria. Preserve the original custom-name component when an item modifier sets it. This fixes the command execution parity regression introduced by #3341 and follows vanilla `SetNameFunction.run` and `Component.tryCollapseToString`. Checks: fresh Java 25 `command_exec` parity; `cargo test -p horizon-items`; `cargo test -p horizon-client --lib --bins --tests`; port ledger check. 🤖 Generated with Dyna --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:17 +07:00
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#5392
No description provided.