If I remember correctly it was Kavanaugh who said that, but I might be wrong.
From Wiki: “Justice Kavanaugh penned a concurring opinion, joined by Chief Justice Roberts, affirming states may still implement licensing requirements such as background checks before issuing public carry permits.”
Also from Wiki:
“Thomas wrote, "The constitutional right to bear arms in public for self-defense is not 'a second-class right, subject to an entirely different body of rules than the other Bill of Rights guarantees.”
“Thomas wrote that gun control laws that identify restricted "sensitive places", such as courthouses and polling places, would still likely pass constitutional muster, though urban areas would not qualify as such sensitive places.”
Again, am not a lawyer, but I don’t think NY or NJ’s prohibition of carry in public places is gonna past muster.