MCA Reborn [Fabric/Forge]

MCA Reborn [Fabric/Forge]

7M Downloads

Leveled up villagers have duplicate trades on occupation change

Rattle189 opened this issue ยท 0 comments

commented

Describe the bug
Villagers who have their trades leveled up to Apprentice or higher have duplicate trades after having their occupations changed in any way. For example, a villager who has starting trades of 15 Coal for 1 Emerald and 1 Emerald for Iron Helmet that gets leveled up and then additionally gets 1 Emerald for Iron Chestplate and 1 Emerald for 1 Iron Leggings gets their occupation changed will have the two Apprentice trades (1 Emerald for Iron Chestplate and 1 Emerald for 1 Iron Leggings) appear twice.

To Reproduce
Steps to reproduce the behavior:

  1. Level up a villager's trades to Apprentice
  2. Change their occupation by destroying their workstation and placing another one or through Interact -> Locations -> Workplace
  3. Check their trades and notice that duplicate trades exist and first level trades are gone.

Screenshots

  1. A novice villager
  2. An apprentice villager
  3. An apprentice villager who had their occupation changed

Version
MCA Version 7.5.5+1.20.1, Minecraft 1.20.1, Fabric 0.14.21

Latest.log
latest.log