[Lookup Anything] ignore duplicate NPCs
Pathoschild opened this issue ยท 1 comments
In rare cases, Stardew Valley's Utility.getAllCharacters()
will return the same NPC instance twice, because the game thinks they're in two places at once. It's not clear why this happens, and only one of them is actually visible in the game.
When iterating NPCs, ignore duplicate references to the same instance.