advice? am i in the wrong?

hey everyone, i’m 29 weeks pregnant and me and my child’s father have not been together sense i found out at 5 weeks and i haven’t seen him my entire pregnancy. granted, we live in different states 9 hours away but he’s very immature and doesn’t communicate well w me at all. before we broke up we always agreed that when we have kids we would name our boy after him and a girl a name we picked out. sure enough, i found out i was having a boy but for his sake i agreed to keep the babies name after him so i could be “fair”. keep in mind this isn’t only the last name, the entire name. i’m 7 months in my pregnancy now and i asked about the hospital if he was going to stay overnight w me because he was going to come in for the birth and i wanted him in the room, he said “idk” and was being awfully rude to me over a question. i told him if not it’s fine i just need to know and he just acted like it wasn’t important enough to answer then he got annoyed and eventually said yes he will stay overnight after i asked 3 times after him saying “idk”. i told him not to worry about it i’ll figure it out if he truly doesn’t wanna stay and help me after i birth our son, i need somebody who’s gonna be a support system 100% not 50% in the hospital. after i said that he blocked me, so i contact his mom and let her know that he blocked me and she told me to have faith in all of them it will work out and after i told her the conversation and how i felt she literally ignored me like everything i was saying meant nothing. i finally got fed up and for the first time ever put my foot down and blocked his mom and sister. i didn’t block him bc he has me blocked and he is my child’s father after all. am i in the wrong or did i do the right thing? am i being dramatic? i don’t want him in the room with me anymore because if he blocks me over something like that i’m scared he’s going to give me a hard time during labor. i am hurt over this and stressed but i have let these people run over me and nobody will

hear me out and be there for me. my own family doesn’t even reply anymore bc their tired of hearing the same thing w them over and over so they ignore me when it comes to this. be honest i won’t get mad, if you made it this far, thank you for hearing me out and listening.