{"action":"opened","number":247,"pull_request":{"url":"https://api.github.com/repos/CitizensDev/Citizens2/pulls/247","id":29748518,"html_url":"https://github.com/CitizensDev/Citizens2/pull/247","diff_url":"https://github.com/CitizensDev/Citizens2/pull/247.diff","patch_url":"https://github.com/CitizensDev/Citizens2/pull/247.patch","issue_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/247","number":247,"state":"open","locked":false,"title":"Fix no knock back on player NPC's when hit","user":{"login":"JCThePants","id":9409473,"avatar_url":"https://avatars.githubusercontent.com/u/9409473?v=3","gravatar_id":"","url":"https://api.github.com/users/JCThePants","html_url":"https://github.com/JCThePants","followers_url":"https://api.github.com/users/JCThePants/followers","following_url":"https://api.github.com/users/JCThePants/following{/other_user}","gists_url":"https://api.github.com/users/JCThePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JCThePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCThePants/subscriptions","organizations_url":"https://api.github.com/users/JCThePants/orgs","repos_url":"https://api.github.com/users/JCThePants/repos","events_url":"https://api.github.com/users/JCThePants/events{/privacy}","received_events_url":"https://api.github.com/users/JCThePants/received_events","type":"User","site_admin":false},"body":"Player NPC's do not get knocked back when hit.\r\n\r\nThe attacking players `EntityPlayer` object checks if the entity is a player and if so, sets the entities `velocityChanged` field to false, resets the velocity values and sends a packet to the client instead.\r\n\r\nThis fix sets the `velocityChanged` field to false to prevent the velocity from being reset, waits until after the check is done and sets the `velocityChanged` value back to `true`.","created_at":"2015-02-21T04:12:31Z","updated_at":"2015-02-21T04:12:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f49c58c6451f4575dc03610c7bc3a39f654b8a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CitizensDev/Citizens2/pulls/247/commits","review_comments_url":"https://api.github.com/repos/CitizensDev/Citizens2/pulls/247/comments","review_comment_url":"https://api.github.com/repos/CitizensDev/Citizens2/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/247/comments","statuses_url":"https://api.github.com/repos/CitizensDev/Citizens2/statuses/b18fe2bf7231ad7c26bd54d23b0355fb839b6325","head":{"label":"JCThePants:JCThePants-patch-2","ref":"JCThePants-patch-2","sha":"b18fe2bf7231ad7c26bd54d23b0355fb839b6325","user":{"login":"JCThePants","id":9409473,"avatar_url":"https://avatars.githubusercontent.com/u/9409473?v=3","gravatar_id":"","url":"https://api.github.com/users/JCThePants","html_url":"https://github.com/JCThePants","followers_url":"https://api.github.com/users/JCThePants/followers","following_url":"https://api.github.com/users/JCThePants/following{/other_user}","gists_url":"https://api.github.com/users/JCThePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JCThePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCThePants/subscriptions","organizations_url":"https://api.github.com/users/JCThePants/orgs","repos_url":"https://api.github.com/users/JCThePants/repos","events_url":"https://api.github.com/users/JCThePants/events{/privacy}","received_events_url":"https://api.github.com/users/JCThePants/received_events","type":"User","site_admin":false},"repo":{"id":31002593,"name":"Citizens2","full_name":"JCThePants/Citizens2","owner":{"login":"JCThePants","id":9409473,"avatar_url":"https://avatars.githubusercontent.com/u/9409473?v=3","gravatar_id":"","url":"https://api.github.com/users/JCThePants","html_url":"https://github.com/JCThePants","followers_url":"https://api.github.com/users/JCThePants/followers","following_url":"https://api.github.com/users/JCThePants/following{/other_user}","gists_url":"https://api.github.com/users/JCThePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JCThePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCThePants/subscriptions","organizations_url":"https://api.github.com/users/JCThePants/orgs","repos_url":"https://api.github.com/users/JCThePants/repos","events_url":"https://api.github.com/users/JCThePants/events{/privacy}","received_events_url":"https://api.github.com/users/JCThePants/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JCThePants/Citizens2","description":"Citizens Recoded and Reborn","fork":true,"url":"https://api.github.com/repos/JCThePants/Citizens2","forks_url":"https://api.github.com/repos/JCThePants/Citizens2/forks","keys_url":"https://api.github.com/repos/JCThePants/Citizens2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JCThePants/Citizens2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JCThePants/Citizens2/teams","hooks_url":"https://api.github.com/repos/JCThePants/Citizens2/hooks","issue_events_url":"https://api.github.com/repos/JCThePants/Citizens2/issues/events{/number}","events_url":"https://api.github.com/repos/JCThePants/Citizens2/events","assignees_url":"https://api.github.com/repos/JCThePants/Citizens2/assignees{/user}","branches_url":"https://api.github.com/repos/JCThePants/Citizens2/branches{/branch}","tags_url":"https://api.github.com/repos/JCThePants/Citizens2/tags","blobs_url":"https://api.github.com/repos/JCThePants/Citizens2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JCThePants/Citizens2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JCThePants/Citizens2/git/refs{/sha}","trees_url":"https://api.github.com/repos/JCThePants/Citizens2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JCThePants/Citizens2/statuses/{sha}","languages_url":"https://api.github.com/repos/JCThePants/Citizens2/languages","stargazers_url":"https://api.github.com/repos/JCThePants/Citizens2/stargazers","contributors_url":"https://api.github.com/repos/JCThePants/Citizens2/contributors","subscribers_url":"https://api.github.com/repos/JCThePants/Citizens2/subscribers","subscription_url":"https://api.github.com/repos/JCThePants/Citizens2/subscription","commits_url":"https://api.github.com/repos/JCThePants/Citizens2/commits{/sha}","git_commits_url":"https://api.github.com/repos/JCThePants/Citizens2/git/commits{/sha}","comments_url":"https://api.github.com/repos/JCThePants/Citizens2/comments{/number}","issue_comment_url":"https://api.github.com/repos/JCThePants/Citizens2/issues/comments/{number}","contents_url":"https://api.github.com/repos/JCThePants/Citizens2/contents/{+path}","compare_url":"https://api.github.com/repos/JCThePants/Citizens2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JCThePants/Citizens2/merges","archive_url":"https://api.github.com/repos/JCThePants/Citizens2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JCThePants/Citizens2/downloads","issues_url":"https://api.github.com/repos/JCThePants/Citizens2/issues{/number}","pulls_url":"https://api.github.com/repos/JCThePants/Citizens2/pulls{/number}","milestones_url":"https://api.github.com/repos/JCThePants/Citizens2/milestones{/number}","notifications_url":"https://api.github.com/repos/JCThePants/Citizens2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JCThePants/Citizens2/labels{/name}","releases_url":"https://api.github.com/repos/JCThePants/Citizens2/releases{/id}","created_at":"2015-02-19T05:24:40Z","updated_at":"2015-02-21T03:56:35Z","pushed_at":"2015-02-21T04:02:13Z","git_url":"git://github.com/JCThePants/Citizens2.git","ssh_url":"git@github.com:JCThePants/Citizens2.git","clone_url":"https://github.com/JCThePants/Citizens2.git","svn_url":"https://github.com/JCThePants/Citizens2","homepage":"citizensnpcs.co","size":67143,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"CitizensDev:master","ref":"master","sha":"7d0d722c225d6554704fe7e9bfeca9acdd0df5fb","user":{"login":"CitizensDev","id":992385,"avatar_url":"https://avatars.githubusercontent.com/u/992385?v=3","gravatar_id":"","url":"https://api.github.com/users/CitizensDev","html_url":"https://github.com/CitizensDev","followers_url":"https://api.github.com/users/CitizensDev/followers","following_url":"https://api.github.com/users/CitizensDev/following{/other_user}","gists_url":"https://api.github.com/users/CitizensDev/gists{/gist_id}","starred_url":"https://api.github.com/users/CitizensDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CitizensDev/subscriptions","organizations_url":"https://api.github.com/users/CitizensDev/orgs","repos_url":"https://api.github.com/users/CitizensDev/repos","events_url":"https://api.github.com/users/CitizensDev/events{/privacy}","received_events_url":"https://api.github.com/users/CitizensDev/received_events","type":"Organization","site_admin":false},"repo":{"id":3472187,"name":"Citizens2","full_name":"CitizensDev/Citizens2","owner":{"login":"CitizensDev","id":992385,"avatar_url":"https://avatars.githubusercontent.com/u/992385?v=3","gravatar_id":"","url":"https://api.github.com/users/CitizensDev","html_url":"https://github.com/CitizensDev","followers_url":"https://api.github.com/users/CitizensDev/followers","following_url":"https://api.github.com/users/CitizensDev/following{/other_user}","gists_url":"https://api.github.com/users/CitizensDev/gists{/gist_id}","starred_url":"https://api.github.com/users/CitizensDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CitizensDev/subscriptions","organizations_url":"https://api.github.com/users/CitizensDev/orgs","repos_url":"https://api.github.com/users/CitizensDev/repos","events_url":"https://api.github.com/users/CitizensDev/events{/privacy}","received_events_url":"https://api.github.com/users/CitizensDev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CitizensDev/Citizens2","description":"Citizens Recoded and Reborn","fork":false,"url":"https://api.github.com/repos/CitizensDev/Citizens2","forks_url":"https://api.github.com/repos/CitizensDev/Citizens2/forks","keys_url":"https://api.github.com/repos/CitizensDev/Citizens2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CitizensDev/Citizens2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CitizensDev/Citizens2/teams","hooks_url":"https://api.github.com/repos/CitizensDev/Citizens2/hooks","issue_events_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/events{/number}","events_url":"https://api.github.com/repos/CitizensDev/Citizens2/events","assignees_url":"https://api.github.com/repos/CitizensDev/Citizens2/assignees{/user}","branches_url":"https://api.github.com/repos/CitizensDev/Citizens2/branches{/branch}","tags_url":"https://api.github.com/repos/CitizensDev/Citizens2/tags","blobs_url":"https://api.github.com/repos/CitizensDev/Citizens2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CitizensDev/Citizens2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CitizensDev/Citizens2/git/refs{/sha}","trees_url":"https://api.github.com/repos/CitizensDev/Citizens2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CitizensDev/Citizens2/statuses/{sha}","languages_url":"https://api.github.com/repos/CitizensDev/Citizens2/languages","stargazers_url":"https://api.github.com/repos/CitizensDev/Citizens2/stargazers","contributors_url":"https://api.github.com/repos/CitizensDev/Citizens2/contributors","subscribers_url":"https://api.github.com/repos/CitizensDev/Citizens2/subscribers","subscription_url":"https://api.github.com/repos/CitizensDev/Citizens2/subscription","commits_url":"https://api.github.com/repos/CitizensDev/Citizens2/commits{/sha}","git_commits_url":"https://api.github.com/repos/CitizensDev/Citizens2/git/commits{/sha}","comments_url":"https://api.github.com/repos/CitizensDev/Citizens2/comments{/number}","issue_comment_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/comments/{number}","contents_url":"https://api.github.com/repos/CitizensDev/Citizens2/contents/{+path}","compare_url":"https://api.github.com/repos/CitizensDev/Citizens2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CitizensDev/Citizens2/merges","archive_url":"https://api.github.com/repos/CitizensDev/Citizens2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CitizensDev/Citizens2/downloads","issues_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues{/number}","pulls_url":"https://api.github.com/repos/CitizensDev/Citizens2/pulls{/number}","milestones_url":"https://api.github.com/repos/CitizensDev/Citizens2/milestones{/number}","notifications_url":"https://api.github.com/repos/CitizensDev/Citizens2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CitizensDev/Citizens2/labels{/name}","releases_url":"https://api.github.com/repos/CitizensDev/Citizens2/releases{/id}","created_at":"2012-02-17T17:36:29Z","updated_at":"2015-02-20T11:40:44Z","pushed_at":"2015-02-20T11:40:44Z","git_url":"git://github.com/CitizensDev/Citizens2.git","ssh_url":"git@github.com:CitizensDev/Citizens2.git","clone_url":"https://github.com/CitizensDev/Citizens2.git","svn_url":"https://github.com/CitizensDev/Citizens2","homepage":"citizensnpcs.co","size":67143,"stargazers_count":65,"watchers_count":65,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":43,"forks":67,"open_issues":43,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CitizensDev/Citizens2/pulls/247"},"html":{"href":"https://github.com/CitizensDev/Citizens2/pull/247"},"issue":{"href":"https://api.github.com/repos/CitizensDev/Citizens2/issues/247"},"comments":{"href":"https://api.github.com/repos/CitizensDev/Citizens2/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/CitizensDev/Citizens2/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/CitizensDev/Citizens2/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CitizensDev/Citizens2/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/CitizensDev/Citizens2/statuses/b18fe2bf7231ad7c26bd54d23b0355fb839b6325"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":0,"changed_files":1}}