{"action":"created","comment":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments/64126009","id":64126009,"diff_hunk":"@@ -287,7 +287,24 @@\n          if (p_71059_1_.func_70075_an())\n          {\n              if (!p_71059_1_.func_85031_j(this))\n-@@ -1311,6 +1397,8 @@\n+@@ -1163,9 +1249,15 @@\n+                 {\n+                     boolean flag = this.field_70143_R > 0.0F && !this.field_70122_E && !this.func_70617_f_() && !this.func_70090_H() && !this.func_70644_a(Potion.field_76440_q) && this.field_70154_o == null && p_71059_1_ instanceof EntityLivingBase;\n+ \n++                    net.minecraftforge.event.entity.player.CriticalHitEvent hitResult = null;\n++                    if(flag)\n++                    {\n++                        hitResult = new net.minecraftforge.event.entity.player.CriticalHitEvent(this, (EntityLivingBase)p_71059_1_);\n++                        flag = net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(hitResult);\n++                    }","path":"patches/minecraft/net/minecraft/entity/player/EntityPlayer.java.patch","position":14,"original_position":14,"commit_id":"ab06ea4317b4c2e6845ff04eebd140f3bca4e340","original_commit_id":"ab06ea4317b4c2e6845ff04eebd140f3bca4e340","user":{"login":"williewillus","id":2015032,"avatar_url":"https://avatars.githubusercontent.com/u/2015032?v=3","gravatar_id":"","url":"https://api.github.com/users/williewillus","html_url":"https://github.com/williewillus","followers_url":"https://api.github.com/users/williewillus/followers","following_url":"https://api.github.com/users/williewillus/following{/other_user}","gists_url":"https://api.github.com/users/williewillus/gists{/gist_id}","starred_url":"https://api.github.com/users/williewillus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williewillus/subscriptions","organizations_url":"https://api.github.com/users/williewillus/orgs","repos_url":"https://api.github.com/users/williewillus/repos","events_url":"https://api.github.com/users/williewillus/events{/privacy}","received_events_url":"https://api.github.com/users/williewillus/received_events","type":"User","site_admin":false},"body":"this needs to be inverted.\r\n`post` returns TRUE if the event was canceled","created_at":"2016-05-21T01:44:26Z","updated_at":"2016-05-21T01:44:27Z","html_url":"https://github.com/MinecraftForge/MinecraftForge/pull/2878#discussion_r64126009","pull_request_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/2878","_links":{"self":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments/64126009"},"html":{"href":"https://github.com/MinecraftForge/MinecraftForge/pull/2878#discussion_r64126009"},"pull_request":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/2878"}}},"pull_request":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/2878","id":70882815,"html_url":"https://github.com/MinecraftForge/MinecraftForge/pull/2878","diff_url":"https://github.com/MinecraftForge/MinecraftForge/pull/2878.diff","patch_url":"https://github.com/MinecraftForge/MinecraftForge/pull/2878.patch","issue_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2878","number":2878,"state":"open","locked":false,"title":"Added CriticalHitEvent","user":{"login":"mcenderdragon","id":6342933,"avatar_url":"https://avatars.githubusercontent.com/u/6342933?v=3","gravatar_id":"","url":"https://api.github.com/users/mcenderdragon","html_url":"https://github.com/mcenderdragon","followers_url":"https://api.github.com/users/mcenderdragon/followers","following_url":"https://api.github.com/users/mcenderdragon/following{/other_user}","gists_url":"https://api.github.com/users/mcenderdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/mcenderdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcenderdragon/subscriptions","organizations_url":"https://api.github.com/users/mcenderdragon/orgs","repos_url":"https://api.github.com/users/mcenderdragon/repos","events_url":"https://api.github.com/users/mcenderdragon/events{/privacy}","received_events_url":"https://api.github.com/users/mcenderdragon/received_events","type":"User","site_admin":false},"body":"This adds an event to cancel critical player hits and to modify the bonus damage dealt.","created_at":"2016-05-20T16:32:35Z","updated_at":"2016-05-21T01:44:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2bbd4b5589b919ce7d8072504e44dc1fb5a01b5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/2878/commits","review_comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/2878/comments","review_comment_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2878/comments","statuses_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/ab06ea4317b4c2e6845ff04eebd140f3bca4e340","head":{"label":"mcenderdragon:1.8.9","ref":"1.8.9","sha":"ab06ea4317b4c2e6845ff04eebd140f3bca4e340","user":{"login":"mcenderdragon","id":6342933,"avatar_url":"https://avatars.githubusercontent.com/u/6342933?v=3","gravatar_id":"","url":"https://api.github.com/users/mcenderdragon","html_url":"https://github.com/mcenderdragon","followers_url":"https://api.github.com/users/mcenderdragon/followers","following_url":"https://api.github.com/users/mcenderdragon/following{/other_user}","gists_url":"https://api.github.com/users/mcenderdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/mcenderdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcenderdragon/subscriptions","organizations_url":"https://api.github.com/users/mcenderdragon/orgs","repos_url":"https://api.github.com/users/mcenderdragon/repos","events_url":"https://api.github.com/users/mcenderdragon/events{/privacy}","received_events_url":"https://api.github.com/users/mcenderdragon/received_events","type":"User","site_admin":false},"repo":{"id":59308520,"name":"MinecraftForge","full_name":"mcenderdragon/MinecraftForge","owner":{"login":"mcenderdragon","id":6342933,"avatar_url":"https://avatars.githubusercontent.com/u/6342933?v=3","gravatar_id":"","url":"https://api.github.com/users/mcenderdragon","html_url":"https://github.com/mcenderdragon","followers_url":"https://api.github.com/users/mcenderdragon/followers","following_url":"https://api.github.com/users/mcenderdragon/following{/other_user}","gists_url":"https://api.github.com/users/mcenderdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/mcenderdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcenderdragon/subscriptions","organizations_url":"https://api.github.com/users/mcenderdragon/orgs","repos_url":"https://api.github.com/users/mcenderdragon/repos","events_url":"https://api.github.com/users/mcenderdragon/events{/privacy}","received_events_url":"https://api.github.com/users/mcenderdragon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcenderdragon/MinecraftForge","description":"Modifications to the Minecraft base files to assist in compatibility between mods.","fork":true,"url":"https://api.github.com/repos/mcenderdragon/MinecraftForge","forks_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/forks","keys_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/teams","hooks_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/hooks","issue_events_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/issues/events{/number}","events_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/events","assignees_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/assignees{/user}","branches_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/branches{/branch}","tags_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/tags","blobs_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/statuses/{sha}","languages_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/languages","stargazers_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/stargazers","contributors_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/contributors","subscribers_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/subscribers","subscription_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/subscription","commits_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/contents/{+path}","compare_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/merges","archive_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/downloads","issues_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/issues{/number}","pulls_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/pulls{/number}","milestones_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/milestones{/number}","notifications_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/labels{/name}","releases_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/releases{/id}","deployments_url":"https://api.github.com/repos/mcenderdragon/MinecraftForge/deployments","created_at":"2016-05-20T16:13:24Z","updated_at":"2016-05-20T16:13:28Z","pushed_at":"2016-05-20T16:29:56Z","git_url":"git://github.com/mcenderdragon/MinecraftForge.git","ssh_url":"git@github.com:mcenderdragon/MinecraftForge.git","clone_url":"https://github.com/mcenderdragon/MinecraftForge.git","svn_url":"https://github.com/mcenderdragon/MinecraftForge","homepage":"","size":86965,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MinecraftForge:1.8.9","ref":"1.8.9","sha":"8182c9352567c8d7b74df8f1de90d8d849183e1e","user":{"login":"MinecraftForge","id":1390178,"avatar_url":"https://avatars.githubusercontent.com/u/1390178?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecraftForge","html_url":"https://github.com/MinecraftForge","followers_url":"https://api.github.com/users/MinecraftForge/followers","following_url":"https://api.github.com/users/MinecraftForge/following{/other_user}","gists_url":"https://api.github.com/users/MinecraftForge/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecraftForge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecraftForge/subscriptions","organizations_url":"https://api.github.com/users/MinecraftForge/orgs","repos_url":"https://api.github.com/users/MinecraftForge/repos","events_url":"https://api.github.com/users/MinecraftForge/events{/privacy}","received_events_url":"https://api.github.com/users/MinecraftForge/received_events","type":"Organization","site_admin":false},"repo":{"id":3301400,"name":"MinecraftForge","full_name":"MinecraftForge/MinecraftForge","owner":{"login":"MinecraftForge","id":1390178,"avatar_url":"https://avatars.githubusercontent.com/u/1390178?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecraftForge","html_url":"https://github.com/MinecraftForge","followers_url":"https://api.github.com/users/MinecraftForge/followers","following_url":"https://api.github.com/users/MinecraftForge/following{/other_user}","gists_url":"https://api.github.com/users/MinecraftForge/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecraftForge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecraftForge/subscriptions","organizations_url":"https://api.github.com/users/MinecraftForge/orgs","repos_url":"https://api.github.com/users/MinecraftForge/repos","events_url":"https://api.github.com/users/MinecraftForge/events{/privacy}","received_events_url":"https://api.github.com/users/MinecraftForge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MinecraftForge/MinecraftForge","description":"Modifications to the Minecraft base files to assist in compatibility between mods.","fork":false,"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge","forks_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/forks","keys_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/teams","hooks_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/hooks","issue_events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/events{/number}","events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/events","assignees_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/assignees{/user}","branches_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/branches{/branch}","tags_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/tags","blobs_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/refs{/sha}","trees_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/{sha}","languages_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/languages","stargazers_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/stargazers","contributors_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/contributors","subscribers_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/subscribers","subscription_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/subscription","commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/commits{/sha}","git_commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/commits{/sha}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/comments{/number}","issue_comment_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/comments{/number}","contents_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/contents/{+path}","compare_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/merges","archive_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/downloads","issues_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues{/number}","pulls_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls{/number}","milestones_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/milestones{/number}","notifications_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/labels{/name}","releases_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/releases{/id}","deployments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/deployments","created_at":"2012-01-30T01:35:01Z","updated_at":"2016-05-20T14:57:23Z","pushed_at":"2016-05-21T01:10:39Z","git_url":"git://github.com/MinecraftForge/MinecraftForge.git","ssh_url":"git@github.com:MinecraftForge/MinecraftForge.git","clone_url":"https://github.com/MinecraftForge/MinecraftForge.git","svn_url":"https://github.com/MinecraftForge/MinecraftForge","homepage":"","size":149138,"stargazers_count":1373,"watchers_count":1373,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":771,"mirror_url":null,"open_issues_count":292,"forks":771,"open_issues":292,"watchers":1373,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/2878"},"html":{"href":"https://github.com/MinecraftForge/MinecraftForge/pull/2878"},"issue":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2878"},"comments":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2878/comments"},"review_comments":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/2878/comments"},"review_comment":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/2878/commits"},"statuses":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/ab06ea4317b4c2e6845ff04eebd140f3bca4e340"}}}}
{"actor":{"display_login":"williewillus"}}