MyPet
MyPet copied to clipboard
Changing entity stats after petrelease
Bug report
After the entity becomes a pet and a player is releasing it back the entity's stats become different. Villagers are selling other books. Horses, mules, and donkeys are receiving random speed, max health, and jump strength. The villager before: https://i.imgur.com/ZnIorO5.png The villager after releasing: https://i.imgur.com/ZxySMJA.png
To Reproduce
- Place a bed, lectern, and a bell.
- Spawn a villager, wait before it will choose the profession.
- Check its trades.
- Make this villager a pet and release it.
- Check the trades again.
Expected behavior
The trades in step 3 are the same as in step 5.
Actual behavior
The trades in step 3 are not the same as in step 5.
Additional context
Bukkit/Spigot/Bungee Build/Version: Paper version git-Paper-126 (MC: 1.15.2) MyPet Build/Version: MyPet-3.10-SNAPSHOT-B1532