{"action":"closed","issue":{"url":"https://api.github.com/repos/Bouhm/stardew-valley-mods/issues/26","repository_url":"https://api.github.com/repos/Bouhm/stardew-valley-mods","labels_url":"https://api.github.com/repos/Bouhm/stardew-valley-mods/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Bouhm/stardew-valley-mods/issues/26/comments","events_url":"https://api.github.com/repos/Bouhm/stardew-valley-mods/issues/26/events","html_url":"https://github.com/Bouhm/stardew-valley-mods/issues/26","id":317885814,"number":26,"title":"Error when player hasn't met all NPCs yet","user":{"login":"Pathoschild","id":230581,"avatar_url":"https://avatars1.githubusercontent.com/u/230581?v=4","gravatar_id":"","url":"https://api.github.com/users/Pathoschild","html_url":"https://github.com/Pathoschild","followers_url":"https://api.github.com/users/Pathoschild/followers","following_url":"https://api.github.com/users/Pathoschild/following{/other_user}","gists_url":"https://api.github.com/users/Pathoschild/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathoschild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathoschild/subscriptions","organizations_url":"https://api.github.com/users/Pathoschild/orgs","repos_url":"https://api.github.com/users/Pathoschild/repos","events_url":"https://api.github.com/users/Pathoschild/events{/privacy}","received_events_url":"https://api.github.com/users/Pathoschild/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-26T05:46:57Z","updated_at":"2018-05-09T19:50:56Z","closed_at":"2018-05-09T19:50:56Z","author_association":"CONTRIBUTOR","body":"If the player hasn't met all NPCs, opening the options page throws an error:\r\n```\r\n[01:45:37 ERROR NPC Map Locations Mod] This mod failed in the InputEvents.ButtonPressed event. Technical details:\r\nSystem.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.\r\n   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)\r\n   at NPCMapLocations.MapModMenu..ctor(Int32 x, Int32 y, Int32 width, Int32 height, Boolean[] showSecondaryNPCs, Dictionary`2 customNPCs, Int32 customNpcId, Dictionary`2 markerCrop, Dictionary`2 npcNames) in C:\\source\\_Stardew\\Mods.Bouhm\\NPCMapLocations\\MapModMenu.cs:line 92\r\n   at NPCMapLocations.MapModMain.HandleInput(GameMenu menu, SButton input) in C:\\source\\_Stardew\\Mods.Bouhm\\NPCMapLocations\\MapModMain.cs:line 177\r\n   at NPCMapLocations.MapModMain.InputEvents_ButtonPressed(Object sender, EventArgsInput e) in C:\\source\\_Stardew\\Mods.Bouhm\\NPCMapLocations\\MapModMain.cs:line 167\r\n   at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in C:\\source\\_Stardew\\SMAPI\\src\\SMAPI\\Framework\\Events\\ManagedEvent.cs:line 54\r\n```\r\n\r\nSee [full SMAPI log](https://log.smapi.io/gkvsK4rz)."}}
{"actor":{"display_login":"Bouhm"}}