can excessive sugar harm baby?

Ch
i've always had a really sweet tooth and preferred sweet to savoury, so the fact that im craving sweets while pregnant is not much of a surprise to me. however, my dad said that i should cut down because it can result in a sugar overloaded baby?! is this true? what can happen? i really dont want to hurt my baby!