{"action":"created","comment":{"url":"https://api.github.com/repos/Windower/packages/pulls/comments/200001651","pull_request_review_id":134229656,"id":200001651,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDAwMTY1MQ==","diff_hunk":"@@ -20,144 +20,146 @@ do\n     end\n end\n \n-packets.incoming[0x00D]:register(function(p)\n-    local data = player.data\n-    if p.player_id ~= data.id then\n-        return\n-    end\n-\n-    if p.update_position then\n-        data.movement_speed = p.movement_speed / 8\n-        data.animation_speed = p.animation_speed / 8\n-    end\n-\n-    if p.update_vitals then\n+packets.incoming:register_init({\n+    [{0x00D}] = function(p)\n+        local data = player.data\n+        if p.player_id ~= data.id then\n+            return\n+        end\n+    \n+        if p.update_position then\n+            data.movement_speed = p.movement_speed / 8\n+            data.animation_speed = p.animation_speed / 8\n+        end\n+    \n+        if p.update_vitals then\n+            data.hp_percent = p.hp_percent\n+            data.state = p.state\n+        end\n+    ","path":"player_service/player_service.lua","position":32,"original_position":32,"commit_id":"983a6d4daac960448a19fc83d8eedfd29ce63da7","original_commit_id":"983a6d4daac960448a19fc83d8eedfd29ce63da7","user":{"login":"Nifim","id":4059879,"node_id":"MDQ6VXNlcjQwNTk4Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/4059879?v=4","gravatar_id":"","url":"https://api.github.com/users/Nifim","html_url":"https://github.com/Nifim","followers_url":"https://api.github.com/users/Nifim/followers","following_url":"https://api.github.com/users/Nifim/following{/other_user}","gists_url":"https://api.github.com/users/Nifim/gists{/gist_id}","starred_url":"https://api.github.com/users/Nifim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nifim/subscriptions","organizations_url":"https://api.github.com/users/Nifim/orgs","repos_url":"https://api.github.com/users/Nifim/repos","events_url":"https://api.github.com/users/Nifim/events{/privacy}","received_events_url":"https://api.github.com/users/Nifim/received_events","type":"User","site_admin":false},"body":"White spaces","created_at":"2018-07-04T03:44:55Z","updated_at":"2018-07-04T03:46:28Z","html_url":"https://github.com/Windower/packages/pull/84#discussion_r200001651","pull_request_url":"https://api.github.com/repos/Windower/packages/pulls/84","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Windower/packages/pulls/comments/200001651"},"html":{"href":"https://github.com/Windower/packages/pull/84#discussion_r200001651"},"pull_request":{"href":"https://api.github.com/repos/Windower/packages/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/Windower/packages/pulls/84","id":199130761,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MTMwNzYx","html_url":"https://github.com/Windower/packages/pull/84","diff_url":"https://github.com/Windower/packages/pull/84.diff","patch_url":"https://github.com/Windower/packages/pull/84.patch","issue_url":"https://api.github.com/repos/Windower/packages/issues/84","number":84,"state":"open","locked":false,"title":"Updated services with register_init","user":{"login":"Nekseus","id":38106746,"node_id":"MDQ6VXNlcjM4MTA2NzQ2","avatar_url":"https://avatars0.githubusercontent.com/u/38106746?v=4","gravatar_id":"","url":"https://api.github.com/users/Nekseus","html_url":"https://github.com/Nekseus","followers_url":"https://api.github.com/users/Nekseus/followers","following_url":"https://api.github.com/users/Nekseus/following{/other_user}","gists_url":"https://api.github.com/users/Nekseus/gists{/gist_id}","starred_url":"https://api.github.com/users/Nekseus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nekseus/subscriptions","organizations_url":"https://api.github.com/users/Nekseus/orgs","repos_url":"https://api.github.com/users/Nekseus/repos","events_url":"https://api.github.com/users/Nekseus/events{/privacy}","received_events_url":"https://api.github.com/users/Nekseus/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-04T03:29:57Z","updated_at":"2018-07-04T03:46:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"764d9248329bdd0f0c7dd64f26ac2b73d68dfa3f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Windower/packages/pulls/84/commits","review_comments_url":"https://api.github.com/repos/Windower/packages/pulls/84/comments","review_comment_url":"https://api.github.com/repos/Windower/packages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Windower/packages/issues/84/comments","statuses_url":"https://api.github.com/repos/Windower/packages/statuses/983a6d4daac960448a19fc83d8eedfd29ce63da7","head":{"label":"Windower:Services-Updates","ref":"Services-Updates","sha":"983a6d4daac960448a19fc83d8eedfd29ce63da7","user":{"login":"Windower","id":1772042,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzIwNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1772042?v=4","gravatar_id":"","url":"https://api.github.com/users/Windower","html_url":"https://github.com/Windower","followers_url":"https://api.github.com/users/Windower/followers","following_url":"https://api.github.com/users/Windower/following{/other_user}","gists_url":"https://api.github.com/users/Windower/gists{/gist_id}","starred_url":"https://api.github.com/users/Windower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windower/subscriptions","organizations_url":"https://api.github.com/users/Windower/orgs","repos_url":"https://api.github.com/users/Windower/repos","events_url":"https://api.github.com/users/Windower/events{/privacy}","received_events_url":"https://api.github.com/users/Windower/received_events","type":"Organization","site_admin":false},"repo":{"id":69366291,"node_id":"MDEwOlJlcG9zaXRvcnk2OTM2NjI5MQ==","name":"packages","full_name":"Windower/packages","owner":{"login":"Windower","id":1772042,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzIwNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1772042?v=4","gravatar_id":"","url":"https://api.github.com/users/Windower","html_url":"https://github.com/Windower","followers_url":"https://api.github.com/users/Windower/followers","following_url":"https://api.github.com/users/Windower/following{/other_user}","gists_url":"https://api.github.com/users/Windower/gists{/gist_id}","starred_url":"https://api.github.com/users/Windower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windower/subscriptions","organizations_url":"https://api.github.com/users/Windower/orgs","repos_url":"https://api.github.com/users/Windower/repos","events_url":"https://api.github.com/users/Windower/events{/privacy}","received_events_url":"https://api.github.com/users/Windower/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Windower/packages","description":null,"fork":false,"url":"https://api.github.com/repos/Windower/packages","forks_url":"https://api.github.com/repos/Windower/packages/forks","keys_url":"https://api.github.com/repos/Windower/packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Windower/packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Windower/packages/teams","hooks_url":"https://api.github.com/repos/Windower/packages/hooks","issue_events_url":"https://api.github.com/repos/Windower/packages/issues/events{/number}","events_url":"https://api.github.com/repos/Windower/packages/events","assignees_url":"https://api.github.com/repos/Windower/packages/assignees{/user}","branches_url":"https://api.github.com/repos/Windower/packages/branches{/branch}","tags_url":"https://api.github.com/repos/Windower/packages/tags","blobs_url":"https://api.github.com/repos/Windower/packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Windower/packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Windower/packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/Windower/packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Windower/packages/statuses/{sha}","languages_url":"https://api.github.com/repos/Windower/packages/languages","stargazers_url":"https://api.github.com/repos/Windower/packages/stargazers","contributors_url":"https://api.github.com/repos/Windower/packages/contributors","subscribers_url":"https://api.github.com/repos/Windower/packages/subscribers","subscription_url":"https://api.github.com/repos/Windower/packages/subscription","commits_url":"https://api.github.com/repos/Windower/packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/Windower/packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/Windower/packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/Windower/packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/Windower/packages/contents/{+path}","compare_url":"https://api.github.com/repos/Windower/packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Windower/packages/merges","archive_url":"https://api.github.com/repos/Windower/packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Windower/packages/downloads","issues_url":"https://api.github.com/repos/Windower/packages/issues{/number}","pulls_url":"https://api.github.com/repos/Windower/packages/pulls{/number}","milestones_url":"https://api.github.com/repos/Windower/packages/milestones{/number}","notifications_url":"https://api.github.com/repos/Windower/packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Windower/packages/labels{/name}","releases_url":"https://api.github.com/repos/Windower/packages/releases{/id}","deployments_url":"https://api.github.com/repos/Windower/packages/deployments","created_at":"2016-09-27T14:38:17Z","updated_at":"2018-07-03T21:09:20Z","pushed_at":"2018-07-04T03:29:58Z","git_url":"git://github.com/Windower/packages.git","ssh_url":"git@github.com:Windower/packages.git","clone_url":"https://github.com/Windower/packages.git","svn_url":"https://github.com/Windower/packages","homepage":null,"size":2886,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":5,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"Windower:master","ref":"master","sha":"e6122105b976f64c7a161c03c0c8f3443ae422d5","user":{"login":"Windower","id":1772042,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzIwNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1772042?v=4","gravatar_id":"","url":"https://api.github.com/users/Windower","html_url":"https://github.com/Windower","followers_url":"https://api.github.com/users/Windower/followers","following_url":"https://api.github.com/users/Windower/following{/other_user}","gists_url":"https://api.github.com/users/Windower/gists{/gist_id}","starred_url":"https://api.github.com/users/Windower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windower/subscriptions","organizations_url":"https://api.github.com/users/Windower/orgs","repos_url":"https://api.github.com/users/Windower/repos","events_url":"https://api.github.com/users/Windower/events{/privacy}","received_events_url":"https://api.github.com/users/Windower/received_events","type":"Organization","site_admin":false},"repo":{"id":69366291,"node_id":"MDEwOlJlcG9zaXRvcnk2OTM2NjI5MQ==","name":"packages","full_name":"Windower/packages","owner":{"login":"Windower","id":1772042,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzIwNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1772042?v=4","gravatar_id":"","url":"https://api.github.com/users/Windower","html_url":"https://github.com/Windower","followers_url":"https://api.github.com/users/Windower/followers","following_url":"https://api.github.com/users/Windower/following{/other_user}","gists_url":"https://api.github.com/users/Windower/gists{/gist_id}","starred_url":"https://api.github.com/users/Windower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windower/subscriptions","organizations_url":"https://api.github.com/users/Windower/orgs","repos_url":"https://api.github.com/users/Windower/repos","events_url":"https://api.github.com/users/Windower/events{/privacy}","received_events_url":"https://api.github.com/users/Windower/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Windower/packages","description":null,"fork":false,"url":"https://api.github.com/repos/Windower/packages","forks_url":"https://api.github.com/repos/Windower/packages/forks","keys_url":"https://api.github.com/repos/Windower/packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Windower/packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Windower/packages/teams","hooks_url":"https://api.github.com/repos/Windower/packages/hooks","issue_events_url":"https://api.github.com/repos/Windower/packages/issues/events{/number}","events_url":"https://api.github.com/repos/Windower/packages/events","assignees_url":"https://api.github.com/repos/Windower/packages/assignees{/user}","branches_url":"https://api.github.com/repos/Windower/packages/branches{/branch}","tags_url":"https://api.github.com/repos/Windower/packages/tags","blobs_url":"https://api.github.com/repos/Windower/packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Windower/packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Windower/packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/Windower/packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Windower/packages/statuses/{sha}","languages_url":"https://api.github.com/repos/Windower/packages/languages","stargazers_url":"https://api.github.com/repos/Windower/packages/stargazers","contributors_url":"https://api.github.com/repos/Windower/packages/contributors","subscribers_url":"https://api.github.com/repos/Windower/packages/subscribers","subscription_url":"https://api.github.com/repos/Windower/packages/subscription","commits_url":"https://api.github.com/repos/Windower/packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/Windower/packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/Windower/packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/Windower/packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/Windower/packages/contents/{+path}","compare_url":"https://api.github.com/repos/Windower/packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Windower/packages/merges","archive_url":"https://api.github.com/repos/Windower/packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Windower/packages/downloads","issues_url":"https://api.github.com/repos/Windower/packages/issues{/number}","pulls_url":"https://api.github.com/repos/Windower/packages/pulls{/number}","milestones_url":"https://api.github.com/repos/Windower/packages/milestones{/number}","notifications_url":"https://api.github.com/repos/Windower/packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Windower/packages/labels{/name}","releases_url":"https://api.github.com/repos/Windower/packages/releases{/id}","deployments_url":"https://api.github.com/repos/Windower/packages/deployments","created_at":"2016-09-27T14:38:17Z","updated_at":"2018-07-03T21:09:20Z","pushed_at":"2018-07-04T03:29:58Z","git_url":"git://github.com/Windower/packages.git","ssh_url":"git@github.com:Windower/packages.git","clone_url":"https://github.com/Windower/packages.git","svn_url":"https://github.com/Windower/packages","homepage":null,"size":2886,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":5,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Windower/packages/pulls/84"},"html":{"href":"https://github.com/Windower/packages/pull/84"},"issue":{"href":"https://api.github.com/repos/Windower/packages/issues/84"},"comments":{"href":"https://api.github.com/repos/Windower/packages/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/Windower/packages/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/Windower/packages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Windower/packages/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/Windower/packages/statuses/983a6d4daac960448a19fc83d8eedfd29ce63da7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Nifim"}}