[GH-ISSUE #3306] Zombifying a villager doesn't work #926

Closed
opened 2026-11-02 15:42:54 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3306

Version: v.0.2.93 · OS: Windows 10, Amd fx 8350, GTX 1050 ti (copied from the report)

What I did: I zombified a villager und then cured him
What happened: I didn´t get any discounts
What I expected: I get discounts
Horizon version: v.0.2.93
Also on the Nightly? didn't try
OS, CPU, GPU: Windows 10, Amd fx 8350, GTX 1050 ti

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

Attachments (Discord links expire after a while; the thread keeps them)

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

Originally created by @ludovic111 on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3306 **Version:** v.0.2.93 · **OS:** Windows 10, Amd fx 8350, GTX 1050 ti <sub>(copied from the report)</sub> > What I did: I zombified a villager und then cured him > What happened: I didn´t get any discounts > What I expected: I get discounts > Horizon version: v.0.2.93 > Also on the Nightly? didn't try > OS, CPU, GPU: Windows 10, Amd fx 8350, GTX 1050 ti Reported on Discord by **Ilja: )** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565061420570251474) Tags: gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [Screenshot_4.png](https://cdn.discordapp.com/attachments/1565061420570251474/1565061421463634060/Screenshot_4.png?ex=6ae38888&is=6ae23708&hm=ed96f6792cc7b014d16658ad04b7a5d457118b1fd69877e1760177d8b92f369e&) - [Screenshot_5.png](https://cdn.discordapp.com/attachments/1565061420570251474/1565061422608547851/Screenshot_5.png?ex=6ae38888&is=6ae23708&hm=ec0a5b2092bfe3d6c761a16ff56b6a6476e430ab621acb1a699f5c4b8b717054&) <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:42:54 +07:00
Author
Owner

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

Likely cause: Game::interact_zombie_villager (crates/horizon-client/src/game/zombie_villagers.rs, line 96) stores self.level.player_uuid as the conversion starter, and Game::cure_zombie_villager (lines 131-142) gives the MajorPositive/MinorPositive gossip and the cure trigger to that UUID. On the server thread level.player_uuid is the world's UUID, not the player's (the same root as #3431), so the discount goes to nobody. Vanilla ZombieVillager.startConverting keeps the player who fed the golden apple, and finishConversion gives the gossip to level.getPlayerByUUID(conversionStarter).

<!-- gh-comment-id:6488863487 --> @kacpherek commented on GitHub (Oct 29, 2026): Likely cause: `Game::interact_zombie_villager` (`crates/horizon-client/src/game/zombie_villagers.rs`, line 96) stores `self.level.player_uuid` as the conversion starter, and `Game::cure_zombie_villager` (lines 131-142) gives the `MajorPositive`/`MinorPositive` gossip and the cure trigger to that UUID. On the server thread `level.player_uuid` is the world's UUID, not the player's (the same root as #3431), so the discount goes to nobody. Vanilla `ZombieVillager.startConverting` keeps the player who fed the golden apple, and `finishConversion` gives the gossip to `level.getPlayerByUUID(conversionStarter)`.
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#926
No description provided.