duplicate
MC-123619 When placing a bed or door, it does not check whether there is a mob or player in the second block