Crash when entity is leashed by non-LivingEntity
Summary
When an entity other than LivingEntity or leash knot (such as boats, minecarts, end crystals) uses a lead, the game crashes upon saving. (Relates to MC-272625)
Steps to Reproduce
- Summon a Pig.
- Summon an End Crystal.
- Copy the UUID of the End Crystal with /data get entity @n[type=end_crystal] UUID.
- Run /data merge entity @n[type=pig] {leash:{UUID:(insert UUID of end crystal).
- The end crystal now leashes the pig.
- Pause the game.
2024-06-01, 05:16 PM
2024-06-04, 12:07 PM
2024-06-04, 12:07 PM
5
3
1246524