When someone is sleeping, he dont have any hitbox, and you can't hit him.
Linked issues
Comments

When someone is sleeping, he dont have any hitbox, and you can't hit him.
Amit Shalev
(Unassigned)
Unconfirmed
bed, hitbox, hiting, player, sleeping
Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w24a, Snapshot 13w25a, Snapshot 13w25c
Retrieved
Duplicate of MC-10919, please use the search function to see if your bug has already been submitted. Currently over 57% of tickets are being closed as duplicate.