I need advice :/

me and my BF have been on and off for about a year now. currently we are off bc I made a mistake. (no infidelity or anything) but he still comes over once or twice a week and sleeps over. sometimes there's sex and sometimes there isn't but I'm not really sure if he loves me anymore. he said he did one day (he said he wouldn't be coming over and talking to me if he didn't) but then another night he got mad at me and said he didn't love me the same way anymore but I'm not sure if it was said in the heat of the moment or not. how do you guys think he feels?