What can I put in the crib?

They say you can’t have anything in the crib, but my son keeps waking up with his leg stuck in between the bars and obviously he’s not too happy... lol

He just turned 11 months