Is it just me...?

So my mother in law questioned how often I feed my baby. And I told her it really depends... Sometimes when we're at home every hour and then sometimes longer stretches. I feed on demand so if baby is hungry I feed her. She doesn't like to feed of both sides right away usually. She said that she would feed her baby off both sides and make them wait three hours to feed. She said to me "aren't you creating a bad habit?"

I actually get along with my MIL well or did but after having the baby the comments kinda get to me...

Am I creating a bad habit??? I thought feeding on demand was good.....I thought it was good for developing trust...