Leveled up villagers have duplicate trades on occupation change
Rattle189 opened this issue ยท 0 comments
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:
- Level up a villager's trades to Apprentice
- Change their occupation by destroying their workstation and placing another one or through Interact -> Locations -> Workplace
- Check their trades and notice that duplicate trades exist and first level trades are gone.
Screenshots
Version
MCA Version 7.5.5+1.20.1, Minecraft 1.20.1, Fabric 0.14.21
Latest.log
latest.log