The bug
When attaching a lead to a fence while holding fences, the client places the fence that is held for a short time, causing a desync with the server.
To reproduce
Place a fence
Put some more fences in your hotbar
Leash an entity
Select the fences
Attach the lead to the fence
→ ❌ The fences stack appears to be decreased, and neighbouring fences try to connect to where the fence appeared for a split second
Video
Original description
tying a lead to a fence while holding the same kind of fence will use the fence without placing it. right clicking next to a fence doing this can create a glitched fence where it's connected to nothing
Linked issues
is duplicated by 37
relates to 2
Attachments
Comments 12
I uploaded a video that shows this behavior in 1.15 with a torch in the offhand and a lead in the main hand.
Hi there. I also stumbled upon this bug by accident and found this post.
I can also confirm that this bug is present in 26.3 snapshot 5.
Before I found this post, I was actually researching the first versions that had this bug and finally discovered snapshot 16w40a. However, I believe I might have more evidence as to why this bug exists after observing the behavior from the sequential 1.11 snapshots. I’ll first do more comparisons to see if it’s anything worth sharing.
Can confirm. I edited the ticket so that it can be more easily found and the description text is more clear. I hope you're fine with that.