{"action":"created","issue":{"url":"https://api.github.com/repos/Parabot/Parabot-317-API-Minified/issues/49","repository_url":"https://api.github.com/repos/Parabot/Parabot-317-API-Minified","labels_url":"https://api.github.com/repos/Parabot/Parabot-317-API-Minified/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Parabot/Parabot-317-API-Minified/issues/49/comments","events_url":"https://api.github.com/repos/Parabot/Parabot-317-API-Minified/issues/49/events","html_url":"https://github.com/Parabot/Parabot-317-API-Minified/issues/49","id":179849991,"number":49,"title":"    at org.rev317.min.api.wrappers.NpcDef.getId(NpcDef.java:21)","user":{"login":"lordgmage","id":10595148,"avatar_url":"https://avatars.githubusercontent.com/u/10595148?v=3","gravatar_id":"","url":"https://api.github.com/users/lordgmage","html_url":"https://github.com/lordgmage","followers_url":"https://api.github.com/users/lordgmage/followers","following_url":"https://api.github.com/users/lordgmage/following{/other_user}","gists_url":"https://api.github.com/users/lordgmage/gists{/gist_id}","starred_url":"https://api.github.com/users/lordgmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordgmage/subscriptions","organizations_url":"https://api.github.com/users/lordgmage/orgs","repos_url":"https://api.github.com/users/lordgmage/repos","events_url":"https://api.github.com/users/lordgmage/events{/privacy}","received_events_url":"https://api.github.com/users/lordgmage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-28T18:25:30Z","updated_at":"2016-09-29T10:29:19Z","closed_at":null,"body":"```java.lang.NullPointerException\r\n    at org.rev317.min.api.wrappers.NpcDef.getId(NpcDef.java:21)\r\n    at org.rev317.min.api.methods.Npcs$3.accept(Npcs.java:123)\r\n    at org.rev317.min.api.methods.Npcs$3.accept(Npcs.java:118)\r\n    at org.rev317.min.api.methods.Npcs.getNpcs(Npcs.java:51)\r\n    at org.rev317.min.api.methods.Npcs.getNearest(Npcs.java:118)\r\n    at org.parabot.lord.DreamPeng.strategies.Killing.activate(Killing.java:18)\r\n    at org.parabot.environment.scripts.framework.StrategyWorker.execute(Frameworks.java:55)\r\n    at org.parabot.environment.scripts.Script.run(Script.java:112)\r\n    at java.lang.Thread.run(Thread.java:745)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Parabot/Parabot-317-API-Minified/issues/comments/250429294","html_url":"https://github.com/Parabot/Parabot-317-API-Minified/issues/49#issuecomment-250429294","issue_url":"https://api.github.com/repos/Parabot/Parabot-317-API-Minified/issues/49","id":250429294,"user":{"login":"JKetelaar","id":3681904,"avatar_url":"https://avatars.githubusercontent.com/u/3681904?v=3","gravatar_id":"","url":"https://api.github.com/users/JKetelaar","html_url":"https://github.com/JKetelaar","followers_url":"https://api.github.com/users/JKetelaar/followers","following_url":"https://api.github.com/users/JKetelaar/following{/other_user}","gists_url":"https://api.github.com/users/JKetelaar/gists{/gist_id}","starred_url":"https://api.github.com/users/JKetelaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKetelaar/subscriptions","organizations_url":"https://api.github.com/users/JKetelaar/orgs","repos_url":"https://api.github.com/users/JKetelaar/repos","events_url":"https://api.github.com/users/JKetelaar/events{/privacy}","received_events_url":"https://api.github.com/users/JKetelaar/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T10:29:19Z","updated_at":"2016-09-29T10:29:19Z","body":"We'll need to build an if check here: https://github.com/Parabot/Parabot-317-API-Minified/blob/master/src/main/java/org/rev317/min/api/methods/Npcs.java#L123\r\n\r\n```\r\n                if (npc.getDef() != null){\r\n                    for (final int id : ids) {\r\n                        if (id == npc.getDef().getId()) {\r\n                            return true;\r\n                        }\r\n                    }\r\n                }\r\n```"}}
{"actor":{"display_login":"JKetelaar"}}