Content Patcher

Content Patcher

378k Downloads

[Lookup Anything] ignore duplicate NPCs

Pathoschild opened this issue ยท 1 comments

commented

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.

commented

Fixed in the upcoming 1.9 release.