Put the summary of the bug you're having here
What I expected to happen was...:
I am pretty sure a villager isnt supposed to go to sleep in a bed thats on the other side of a wall.
What actually happened was...:
When i went to sleep in a bed in an acacia village i blocke the door with blocks so no villager would come in and sleep in the bed, BUT a villager went into the bed THROUGH THE WALL
Steps to Reproduce:
I tried to reproduce it and i couldnt.
Linked issues
duplicates
Comments

Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-160582, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord