It's related to MC-13949 but with this command:
/execute as @e[type=!player] run data modify entity @s Leash set value {}
Then the lead drops and i have no way to prevent that (MC-75494 might be enough....)
MC-196158 Unleashed entities drop a lead using /data
Fixed in 24w06a not 23w06a, see 2024-11-09 00-40-36.mp4
For more details, it fixes:
Fixed in 23w06a.
23w06a: 2024-11-09 00-40-36.mp4
23w05b: 2024-11-09 00-43-23.mp4
Can confirm that this is an issue in 20w51a. I've attached a video demonstrating the problem.
Fixed in 24w06a not 23w06a, see 2024-11-09 00-40-36.mp4
For more details, it fixes: