The ruling wasn't aimed at current regulations in NY. It takes a long time for something to get to SCOTUS. This ruling is a standard that will be referenced and used in the future as exec overreaches continue.
Allowing "essential" establishments to remain operational (at the discretion of one man) while disallowing religious establishments to open and gather for services is literally the discrimination the first amendment is aimed to prevent.