-
Bug
-
Resolution: Unresolved
-
None
-
1.14.4, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w49a, 1.16.5, 21w08b, 1.18.1
-
None
-
Confirmed
-
(Unassigned)
The bug
Summoning a villager with an empty Offers tag correctly spawn a villager which cannot be traded with. However, when reopening the world the villager has trades.
How to reproduce
/summon minecraft:villager ~ ~2 ~ {CustomNameVisible:1b,PersistenceRequired:1b,Health:20000f,CustomName:"{\"text\":\"John\",\"bold\":\"true\",\"color\":\"green\"}",VillagerData:{level:1,profession:"minecraft:leatherworker",type:"minecraft:snow"},NoAI:1b,Offers:{}}
- Right click the villager
→ It cannot be traded with - Reopen the world
- Right click the villager
→ It has trades