{"action":"created","issue":{"url":"https://api.github.com/repos/JavidPack/CheatSheet/issues/14","repository_url":"https://api.github.com/repos/JavidPack/CheatSheet","labels_url":"https://api.github.com/repos/JavidPack/CheatSheet/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/JavidPack/CheatSheet/issues/14/comments","events_url":"https://api.github.com/repos/JavidPack/CheatSheet/issues/14/events","html_url":"https://github.com/JavidPack/CheatSheet/issues/14","id":330823580,"node_id":"MDU6SXNzdWUzMzA4MjM1ODA=","number":14,"title":"BannedNPC loading issue","user":{"login":"JavidPack","id":4522492,"node_id":"MDQ6VXNlcjQ1MjI0OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/4522492?v=4","gravatar_id":"","url":"https://api.github.com/users/JavidPack","html_url":"https://github.com/JavidPack","followers_url":"https://api.github.com/users/JavidPack/followers","following_url":"https://api.github.com/users/JavidPack/following{/other_user}","gists_url":"https://api.github.com/users/JavidPack/gists{/gist_id}","starred_url":"https://api.github.com/users/JavidPack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavidPack/subscriptions","organizations_url":"https://api.github.com/users/JavidPack/orgs","repos_url":"https://api.github.com/users/JavidPack/repos","events_url":"https://api.github.com/users/JavidPack/events{/privacy}","received_events_url":"https://api.github.com/users/JavidPack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-08T22:46:50Z","updated_at":"2018-07-11T16:40:48Z","closed_at":null,"author_association":"OWNER","body":"\r\n\r\nLooks like \"\\Documents\\My Games\\Terraria\\ModLoader\\CheatSheetConfig_Server.json\" sometimes gets bad values in it. Maybe caused by changing mods or something. \r\n\r\nFor anyone with this problem until it is fixed, deleting that file should fix it.\r\n\r\n![rttie3b](https://user-images.githubusercontent.com/4522492/41184119-5c4dd004-6b3b-11e8-8d1f-0c644e401d64.jpg)\r\n\r\nA bad file:\r\n\r\n```{\r\n  \"BannedNPCs\": [\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Shadowflame Apparation\",\r\n      \"id\": 472\r\n    },\r\n    {\r\n      \"mod\": \"SpiritMod\",\r\n      \"name\": \"Scarab\"\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Servant of Cthulhu\",\r\n      \"id\": 5\r\n    },\r\n    {\r\n      \"mod\": \"kingofpopz\",\r\n      \"name\": \"ScannerProbe\"\r\n    },\r\n    {\r\n      \"mod\": \"GRealm\",\r\n      \"name\": \"Seedling\"\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Ghost\",\r\n      \"id\": 316\r\n    },\r\n    {\r\n      \"mod\": \"CivitasMod\",\r\n      \"name\": \"CentipedeTail\"\r\n    },\r\n    {\r\n      \"mod\": \"CivitasMod\",\r\n      \"name\": \"CentipedeHead\"\r\n    },\r\n    {\r\n      \"mod\": \"CivitasMod\",\r\n      \"name\": \"CentipedeBody\"\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Moss Hornet\",\r\n      \"id\": 176\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Duck\",\r\n      \"id\": 365\r\n    },\r\n    {\r\n      \"mod\": \"ThoriumMod\",\r\n      \"name\": \"BatOutaHell\"\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Dungeon Guardian\",\r\n      \"id\": 68\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Wyvern\",\r\n      \"id\": 89\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Wyvern\",\r\n      \"id\": 88\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Wyvern\",\r\n      \"id\": 90\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Wyvern\",\r\n      \"id\": 91\r\n    },\r\n    {\r\n      \"mod\": \"Terraria\",\r\n      \"name\": \"Wyvern\",\r\n      \"id\": 92\r\n    },\r\n    {\r\n      \"mod\": \"Redemption\",\r\n      \"name\": \"Chicken\"\r\n    },\r\n    {\r\n      \"mod\": \"Redemption\",\r\n      \"name\": \"KingChickenT\"\r\n    },\r\n    {\r\n      \"mod\": \"ThoriumMod\",\r\n      \"name\": \"MudMan\"\r\n    },\r\n    {\r\n      \"mod\": null,\r\n      \"name\": \"\"\r\n    },\r\n    {\r\n      \"mod\": null,\r\n      \"name\": \"\"\r\n    },\r\n    {\r\n      \"mod\": null,\r\n      \"name\": \"\"\r\n    },\r\n    {\r\n      \"mod\": \"ThoriumMod\",\r\n      \"name\": \"UFO\"\r\n    },\r\n    {\r\n      \"mod\": \"CosmeticVariety\",\r\n      \"name\": \"Jack\"\r\n    },\r\n    {\r\n      \"mod\": \"Redemption\",\r\n      \"name\": \"KingChicken\"\r\n    }\r\n  ]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/JavidPack/CheatSheet/issues/comments/404235131","html_url":"https://github.com/JavidPack/CheatSheet/issues/14#issuecomment-404235131","issue_url":"https://api.github.com/repos/JavidPack/CheatSheet/issues/14","id":404235131,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDIzNTEzMQ==","user":{"login":"Jofairden","id":4968151,"node_id":"MDQ6VXNlcjQ5NjgxNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4968151?v=4","gravatar_id":"","url":"https://api.github.com/users/Jofairden","html_url":"https://github.com/Jofairden","followers_url":"https://api.github.com/users/Jofairden/followers","following_url":"https://api.github.com/users/Jofairden/following{/other_user}","gists_url":"https://api.github.com/users/Jofairden/gists{/gist_id}","starred_url":"https://api.github.com/users/Jofairden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jofairden/subscriptions","organizations_url":"https://api.github.com/users/Jofairden/orgs","repos_url":"https://api.github.com/users/Jofairden/repos","events_url":"https://api.github.com/users/Jofairden/events{/privacy}","received_events_url":"https://api.github.com/users/Jofairden/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T16:40:48Z","updated_at":"2018-07-11T16:40:48Z","author_association":"COLLABORATOR","body":"Looks like the best bet is to just store the mod source and npc name, then figure out the ID when it loads."}}
{"actor":{"display_login":"Jofairden"}}