Lead remains attached to the fence when the mob is killed
The bug
Lead remains attached to the fence when the mob is killed.
Steps to Reproduce:
- Place down a fence and obtain a lead.
- Summon a pig and use the lead to leash it to the fence.
- Kill the pig and watch the leash knot closely.
Observed Behavior:
Leash knots remain attached to fences when the leashed entity is killed.
Expected Behavior:
Leash knots would not remain attached to fences when the leashed entity is killed. Instead, as soon as the leashed entity is slain, the leash knot should be destroyed.
Code analysis
Code analysis by [Mod] Chandler can be found in this comment.
2013-05-27, 06:27 PM
2024-11-22, 11:59 AM
32
10
Snapshot 13w19a - 1.21.3
Snapshot 13w19a, Snapshot 13w21a, Snapshot 13w21b, Snapshot 13w26a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.8, Minecraft 1.8.8, Minecraft 15w45a, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13-pre10, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 1.14 Pre-Release 5, 1.14.4, 1.15 Pre-release 6, 1.15.2, 20w16a, 20w19a, 20w20b, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w46a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w11a, 21w13a, 21w14a, 21w15a, 21w17a, 1.17 Pre-release 1, 1.17 Release Candidate 1, 1.17, 1.17.1, 21w39a, 1.18.2, 22w18a, 1.19, 1.19.2, 1.20.3, 1.20.4 Release Candidate 1, 1.20.4, 1.21 Pre-Release 1, 1.21 Pre-Release 3, 1.21.1, 24w35a, 1.21.3
-