[PR #2737] [CLOSED] entity_nbt: drop the duplicate rabbit arm (main fails clippy) #4578

Closed
opened 2026-11-03 04:18:11 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2737
Author: @ludovic111
Created: 10/27/2026
Status: ❌ Closed

Base: main ← Head: fix/entity-nbt-duplicate-rabbit


📝 Commits (1)

  • 2e35242 entity_nbt: drop the duplicate minecraft:rabbit arm (main fails clippy -D warnings)

📊 Changes

1 file changed (+1 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/entity_nbt.rs (+1 -4)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Main at d9b6483aa fails clippy -D warnings: save_mob's match in crates/horizon-client/src/entity_nbt.rs has two "minecraft:rabbit" arms (#2585 and a wave-5 PR each added one), and the second is unreachable. Every PR's verify fails until it's gone.

The first arm writes RabbitType and MoreCarrotTicks, a superset of the second, so the second is dropped; its comment moves up.

Tested: cargo clippy -p horizon-client --all-targets --features mods -- -D warnings clean, cargo fmt --check, entity_nbt tests 12/12.

🤖 Generated with Claude Code


🔄 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/2737 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/27/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/entity-nbt-duplicate-rabbit` --- ### 📝 Commits (1) - [`2e35242`](https://github.com/horizon-rust/horizon/commit/2e352425bc6e4749aa7daef0ddb14788008e5bf3) entity_nbt: drop the duplicate minecraft:rabbit arm (main fails clippy -D warnings) ### 📊 Changes **1 file changed** (+1 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/entity_nbt.rs` (+1 -4) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Main at d9b6483aa fails `clippy -D warnings`: `save_mob`'s match in `crates/horizon-client/src/entity_nbt.rs` has two `"minecraft:rabbit"` arms (#2585 and a wave-5 PR each added one), and the second is unreachable. Every PR's verify fails until it's gone. The first arm writes `RabbitType` and `MoreCarrotTicks`, a superset of the second, so the second is dropped; its comment moves up. Tested: `cargo clippy -p horizon-client --all-targets --features mods -- -D warnings` clean, `cargo fmt --check`, entity_nbt tests 12/12. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:18:11 +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#4578
No description provided.