{"action":"created","issue":{"url":"https://api.github.com/repos/Sidoine/Ovale/issues/70","repository_url":"https://api.github.com/repos/Sidoine/Ovale","labels_url":"https://api.github.com/repos/Sidoine/Ovale/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/Sidoine/Ovale/issues/70/comments","events_url":"https://api.github.com/repos/Sidoine/Ovale/issues/70/events","html_url":"https://github.com/Sidoine/Ovale/pull/70","id":173732652,"number":70,"title":"nil reference check","user":{"login":"kevindesmet","id":14911473,"avatar_url":"https://avatars.githubusercontent.com/u/14911473?v=3","gravatar_id":"","url":"https://api.github.com/users/kevindesmet","html_url":"https://github.com/kevindesmet","followers_url":"https://api.github.com/users/kevindesmet/followers","following_url":"https://api.github.com/users/kevindesmet/following{/other_user}","gists_url":"https://api.github.com/users/kevindesmet/gists{/gist_id}","starred_url":"https://api.github.com/users/kevindesmet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevindesmet/subscriptions","organizations_url":"https://api.github.com/users/kevindesmet/orgs","repos_url":"https://api.github.com/users/kevindesmet/repos","events_url":"https://api.github.com/users/kevindesmet/events{/privacy}","received_events_url":"https://api.github.com/users/kevindesmet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T09:22:43Z","updated_at":"2016-08-29T17:12:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sidoine/Ovale/pulls/70","html_url":"https://github.com/Sidoine/Ovale/pull/70","diff_url":"https://github.com/Sidoine/Ovale/pull/70.diff","patch_url":"https://github.com/Sidoine/Ovale/pull/70.patch"},"body":"fixes #68 "},"comment":{"url":"https://api.github.com/repos/Sidoine/Ovale/issues/comments/243188564","html_url":"https://github.com/Sidoine/Ovale/pull/70#issuecomment-243188564","issue_url":"https://api.github.com/repos/Sidoine/Ovale/issues/70","id":243188564,"user":{"login":"ShmooDude","id":5076859,"avatar_url":"https://avatars.githubusercontent.com/u/5076859?v=3","gravatar_id":"","url":"https://api.github.com/users/ShmooDude","html_url":"https://github.com/ShmooDude","followers_url":"https://api.github.com/users/ShmooDude/followers","following_url":"https://api.github.com/users/ShmooDude/following{/other_user}","gists_url":"https://api.github.com/users/ShmooDude/gists{/gist_id}","starred_url":"https://api.github.com/users/ShmooDude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShmooDude/subscriptions","organizations_url":"https://api.github.com/users/ShmooDude/orgs","repos_url":"https://api.github.com/users/ShmooDude/repos","events_url":"https://api.github.com/users/ShmooDude/events{/privacy}","received_events_url":"https://api.github.com/users/ShmooDude/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T17:12:54Z","updated_at":"2016-08-29T17:12:54Z","body":"@kevindesmet Yeah, good instincts, another test needs to be added.\r\n\r\n`if not spellcast or (spellcast.success and spellcast.success < sc.success) or (not spellcast.success and spellcast.queued < sc.success) then`\r\n\r\n`spellcast.success` could only be nil if the current last spell we considered hadn't succeeded yet so if it is nil then we need to check against the `spellcast.queued` instead as opposed to just not checking at all.  I don't tend to mess with casters so probably why I missed it in the first place."}}
{"actor":{"display_login":"ShmooDude"}}