{"action":"closed","issue":{"url":"https://api.github.com/repos/OnlyNoobDied/GadgetsMenu/issues/229","repository_url":"https://api.github.com/repos/OnlyNoobDied/GadgetsMenu","labels_url":"https://api.github.com/repos/OnlyNoobDied/GadgetsMenu/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/OnlyNoobDied/GadgetsMenu/issues/229/comments","events_url":"https://api.github.com/repos/OnlyNoobDied/GadgetsMenu/issues/229/events","html_url":"https://github.com/OnlyNoobDied/GadgetsMenu/issues/229","id":241355691,"number":229,"title":"Bug when disabled cosmetics","user":{"login":"maxlehot1234","id":5159244,"avatar_url":"https://avatars0.githubusercontent.com/u/5159244?v=4","gravatar_id":"","url":"https://api.github.com/users/maxlehot1234","html_url":"https://github.com/maxlehot1234","followers_url":"https://api.github.com/users/maxlehot1234/followers","following_url":"https://api.github.com/users/maxlehot1234/following{/other_user}","gists_url":"https://api.github.com/users/maxlehot1234/gists{/gist_id}","starred_url":"https://api.github.com/users/maxlehot1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxlehot1234/subscriptions","organizations_url":"https://api.github.com/users/maxlehot1234/orgs","repos_url":"https://api.github.com/users/maxlehot1234/repos","events_url":"https://api.github.com/users/maxlehot1234/events{/privacy}","received_events_url":"https://api.github.com/users/maxlehot1234/received_events","type":"User","site_admin":false},"labels":[{"id":609686521,"url":"https://api.github.com/repos/OnlyNoobDied/GadgetsMenu/labels/Future","name":"Future","color":"26f2a7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-07T19:17:43Z","updated_at":"2017-08-28T06:14:44Z","closed_at":"2017-08-28T06:14:44Z","body":"If, for example the player unlock the parachute gadget and this is the ONLY mouvment gadget he have and I disable it, the player continue to see that he have an available gadget:\r\n![image](https://user-images.githubusercontent.com/5159244/27973140-01084d9a-6327-11e7-9454-5df92df49e8c.png)\r\n\r\nBut he have nothing since it was disabled in the config:\r\n![image](https://user-images.githubusercontent.com/5159244/27973157-0fcc2428-6327-11e7-935a-4cc3e302bc93.png)\r\n\r\nI need to remove the permission to players to fix this issue...\r\nSo is it possible to add a check for it to prevent this?\r\n\r\n"}}
{"actor":{"display_login":"OnlyNoobDied"}}