Beans? Potatoes?

Delia
Hello ladies, i have  breasfeeding For 3 weeks already, and since Then i havent ate any beans or potatoes because they told me that it makes the babies have cramps/pAin. Is this true? Do you guys eat anything?