{"action":"created","issue":{"url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1520","repository_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit","labels_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1520/labels{/name}","comments_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1520/comments","events_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1520/events","html_url":"https://github.com/DenizenScript/Denizen-For-Bukkit/issues/1520","id":199376528,"number":1520,"title":"Action: On Kill firing too early","user":{"login":"Ditronian","id":24323750,"avatar_url":"https://avatars.githubusercontent.com/u/24323750?v=3","gravatar_id":"","url":"https://api.github.com/users/Ditronian","html_url":"https://github.com/Ditronian","followers_url":"https://api.github.com/users/Ditronian/followers","following_url":"https://api.github.com/users/Ditronian/following{/other_user}","gists_url":"https://api.github.com/users/Ditronian/gists{/gist_id}","starred_url":"https://api.github.com/users/Ditronian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ditronian/subscriptions","organizations_url":"https://api.github.com/users/Ditronian/orgs","repos_url":"https://api.github.com/users/Ditronian/repos","events_url":"https://api.github.com/users/Ditronian/events{/privacy}","received_events_url":"https://api.github.com/users/Ditronian/received_events","type":"User","site_admin":false},"labels":[{"id":705216,"url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"mcmonkey4eva","id":4000772,"avatar_url":"https://avatars.githubusercontent.com/u/4000772?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmonkey4eva","html_url":"https://github.com/mcmonkey4eva","followers_url":"https://api.github.com/users/mcmonkey4eva/followers","following_url":"https://api.github.com/users/mcmonkey4eva/following{/other_user}","gists_url":"https://api.github.com/users/mcmonkey4eva/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmonkey4eva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmonkey4eva/subscriptions","organizations_url":"https://api.github.com/users/mcmonkey4eva/orgs","repos_url":"https://api.github.com/users/mcmonkey4eva/repos","events_url":"https://api.github.com/users/mcmonkey4eva/events{/privacy}","received_events_url":"https://api.github.com/users/mcmonkey4eva/received_events","type":"User","site_admin":false},"assignees":[{"login":"mcmonkey4eva","id":4000772,"avatar_url":"https://avatars.githubusercontent.com/u/4000772?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmonkey4eva","html_url":"https://github.com/mcmonkey4eva","followers_url":"https://api.github.com/users/mcmonkey4eva/followers","following_url":"https://api.github.com/users/mcmonkey4eva/following{/other_user}","gists_url":"https://api.github.com/users/mcmonkey4eva/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmonkey4eva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmonkey4eva/subscriptions","organizations_url":"https://api.github.com/users/mcmonkey4eva/orgs","repos_url":"https://api.github.com/users/mcmonkey4eva/repos","events_url":"https://api.github.com/users/mcmonkey4eva/events{/privacy}","received_events_url":"https://api.github.com/users/mcmonkey4eva/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-01-07T18:26:17Z","updated_at":"2017-01-07T23:53:17Z","closed_at":null,"body":"Denizen: Latest Dev Build\r\nServer: Spigot 1.11\r\n\r\nThis is just a quick bug I'm reporting, I've already coded a work around to it so I'm not too phased about it.\r\n\r\nWhen a NPC is given the On Kill: action, the action is firing twice for us.  The first time it fires is around 1-2 hearts for the being killed player, so he is not actually did yet and can survive.\r\n\r\nOn actually dieing, the action fires again.\r\n\r\nOur work around was to just add the following to the begining of the action.\r\n - wait 3t\r\n- if <player.is_spawned> queue clear"},"comment":{"url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/comments/271118753","html_url":"https://github.com/DenizenScript/Denizen-For-Bukkit/issues/1520#issuecomment-271118753","issue_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1520","id":271118753,"user":{"login":"mcmonkey4eva","id":4000772,"avatar_url":"https://avatars.githubusercontent.com/u/4000772?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmonkey4eva","html_url":"https://github.com/mcmonkey4eva","followers_url":"https://api.github.com/users/mcmonkey4eva/followers","following_url":"https://api.github.com/users/mcmonkey4eva/following{/other_user}","gists_url":"https://api.github.com/users/mcmonkey4eva/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmonkey4eva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmonkey4eva/subscriptions","organizations_url":"https://api.github.com/users/mcmonkey4eva/orgs","repos_url":"https://api.github.com/users/mcmonkey4eva/repos","events_url":"https://api.github.com/users/mcmonkey4eva/events{/privacy}","received_events_url":"https://api.github.com/users/mcmonkey4eva/received_events","type":"User","site_admin":false},"created_at":"2017-01-07T23:53:17Z","updated_at":"2017-01-07T23:53:17Z","body":"Woops, that code got missed in an update somewhere.\r\nThanks for the report!"}}
{"actor":{"display_login":"mcmonkey4eva"}}