[PR #2371] [MERGED] Tamed wolves heal twice the food's nutrition #4251

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2371
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/wolf-meat-heal


📝 Commits (1)

  • 9bc05fa Tamed wolves heal twice the food's nutrition

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+3 -2)

📄 Description

What and why

Feeding a hurt tamed wolf meat healed it by the food's nutrition only, so a steak restored 8 health instead of 16. Vanilla calls feed(player, hand, stack, 2.0F, 2.0F), which heals healingFactor * nutrition, so wolves heal twice the nutrition. The heal is now doubled.

Vanilla reference

  • Wolf.mobInteract calls this.feed(player, hand, itemStack, 2.0F, 2.0F) for food on a hurt tamed wolf.
  • TamableAnimal.feed heals healingFactor * foodProperties.nutrition().

Self-check

cargo check -p horizon-client passes.


🔄 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/2371 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/wolf-meat-heal` --- ### 📝 Commits (1) - [`9bc05fa`](https://github.com/horizon-rust/horizon/commit/9bc05faf53c169c8ae19ac2ee8f118c576927a62) Tamed wolves heal twice the food's nutrition ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+3 -2) </details> ### 📄 Description ## What and why Feeding a hurt tamed wolf meat healed it by the food's nutrition only, so a steak restored 8 health instead of 16. Vanilla calls `feed(player, hand, stack, 2.0F, 2.0F)`, which heals `healingFactor * nutrition`, so wolves heal twice the nutrition. The heal is now doubled. ## Vanilla reference - `Wolf.mobInteract` calls `this.feed(player, hand, itemStack, 2.0F, 2.0F)` for food on a hurt tamed wolf. - `TamableAnimal.feed` heals `healingFactor * foodProperties.nutrition()`. ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:15:48 +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#4251
No description provided.