MyPet icon indicating copy to clipboard operation
MyPet copied to clipboard

Changing entity stats after petrelease

Open ArtNRG opened this issue 4 years ago • 0 comments

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

  1. Place a bed, lectern, and a bell.
  2. Spawn a villager, wait before it will choose the profession.
  3. Check its trades.
  4. Make this villager a pet and release it.
  5. 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

ticket.zip

Bukkit/Spigot/Bungee Build/Version: Paper version git-Paper-126 (MC: 1.15.2) MyPet Build/Version: MyPet-3.10-SNAPSHOT-B1532

ArtNRG avatar Mar 04 '20 14:03 ArtNRG