Gotta agree with the other person. I’m not a fan of kids, even posted yesterday about having kids in places I don’t like there being kids, but you’re going to their party and they have kids.
In this case if you don’t want to be around kids you can not go to the party, otherwise it’s one of those things you do for your friends.