NPC Device Still Broken, Now Failing to Spawn Half the Time

I’d like to add that this workaround only works when a single player triggers the function to spawn the NPCs (e.g., by entering a zone). If multiple players trigger it simultaneously, only half the intended number of NPCs will spawn.