{"action":"created","issue":{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/3471","repository_url":"https://api.github.com/repos/Facepunch/garrysmod-issues","labels_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/3471/labels{/name}","comments_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/3471/comments","events_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/3471/events","html_url":"https://github.com/Facepunch/garrysmod-issues/issues/3471","id":324599233,"number":3471,"title":"NPC.GetEnemy Consistency Change","user":{"login":"DrVrej","id":6934542,"avatar_url":"https://avatars0.githubusercontent.com/u/6934542?v=4","gravatar_id":"","url":"https://api.github.com/users/DrVrej","html_url":"https://github.com/DrVrej","followers_url":"https://api.github.com/users/DrVrej/followers","following_url":"https://api.github.com/users/DrVrej/following{/other_user}","gists_url":"https://api.github.com/users/DrVrej/gists{/gist_id}","starred_url":"https://api.github.com/users/DrVrej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrVrej/subscriptions","organizations_url":"https://api.github.com/users/DrVrej/orgs","repos_url":"https://api.github.com/users/DrVrej/repos","events_url":"https://api.github.com/users/DrVrej/events{/privacy}","received_events_url":"https://api.github.com/users/DrVrej/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-05-19T04:13:39Z","updated_at":"2018-05-19T05:05:31Z","closed_at":null,"author_association":"NONE","body":"Recently a new update has been announced for Garry's Mod and one of the changes is the return type of the NPC function, `NPC.GetEnemy` This may seem like a fair change as it makes sense to return a `NULL` entity rather than `nil` and I do agree that's how the function should have been made from the beginning. But Garry's Mod has been around for many years, `NPC.GetEnemy` has always returned `nil`, by changing the return type after this many years is unnecessary, especially due to the amount of problems it's going to cause. This change has been tested by many SNPC creators on many different bases. All of the SNPC bases and SNPC addons have been broken because of this change. Changing a function that has remained the same since the beginning of Garry's Mod is very unneeded. It's unnecessary to break every SNPC addon on the workshop. Which is why I kindly ask to please revert this change before the release of this update. Thank you very much."},"comment":{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/comments/390379600","html_url":"https://github.com/Facepunch/garrysmod-issues/issues/3471#issuecomment-390379600","issue_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/3471","id":390379600,"user":{"login":"Kefta","id":4593679,"avatar_url":"https://avatars2.githubusercontent.com/u/4593679?v=4","gravatar_id":"","url":"https://api.github.com/users/Kefta","html_url":"https://github.com/Kefta","followers_url":"https://api.github.com/users/Kefta/followers","following_url":"https://api.github.com/users/Kefta/following{/other_user}","gists_url":"https://api.github.com/users/Kefta/gists{/gist_id}","starred_url":"https://api.github.com/users/Kefta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kefta/subscriptions","organizations_url":"https://api.github.com/users/Kefta/orgs","repos_url":"https://api.github.com/users/Kefta/repos","events_url":"https://api.github.com/users/Kefta/events{/privacy}","received_events_url":"https://api.github.com/users/Kefta/received_events","type":"User","site_admin":false},"created_at":"2018-05-19T05:05:31Z","updated_at":"2018-05-19T05:05:31Z","author_association":"NONE","body":"And it's not off-topic to claim you are sending people to your issues to bump/boast your support. Cpt-Hazama has only posted on issues created or supported by you on this GitHub with no useful feedback other than mirroring what you say:\r\n\r\nhttps://github.com/Facepunch/garrysmod-issues/issues/1962\r\nhttps://github.com/Facepunch/garrysmod-issues/issues/1624\r\nhttps://github.com/Facepunch/garrysmod-issues/issues/947"}}
{"actor":{"display_login":"Kefta"}}