{"action":"created","comment":{"url":"https://api.github.com/repos/mc-server/MCServer/pulls/comments/29554655","id":29554655,"diff_hunk":"@@ -286,12 +287,21 @@ void cMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)\n \t{\n \t\tif (m_bOnGround)\n \t\t{\n-\t\t\tif (DoesPosYRequireJump((int)floor(m_Destination.y)))\n+\t\t\tif (m_JumpCoolDown == 0)\n \t\t\t{\n-\t\t\t\tm_bOnGround = false;\n-\n-\t\t\t\t// TODO: Change to AddSpeedY once collision detection is fixed - currently, mobs will go into blocks attempting to jump without a teleport\n-\t\t\t\tAddPosY(1.2);  // Jump!!\n+\t\t\t\tif (DoesPosYRequireJump((int)floor(m_Destination.y)))","path":"src/Mobs/Monster.cpp","position":null,"original_position":19,"commit_id":"2f3a7ff3181427087f4e48a90be493fcf67bc85d","original_commit_id":"589c35d58a2b3e6c0919574545c91c373329a082","user":{"login":"SafwatHalaby","id":5030488,"avatar_url":"https://avatars.githubusercontent.com/u/5030488?v=3","gravatar_id":"","url":"https://api.github.com/users/SafwatHalaby","html_url":"https://github.com/SafwatHalaby","followers_url":"https://api.github.com/users/SafwatHalaby/followers","following_url":"https://api.github.com/users/SafwatHalaby/following{/other_user}","gists_url":"https://api.github.com/users/SafwatHalaby/gists{/gist_id}","starred_url":"https://api.github.com/users/SafwatHalaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SafwatHalaby/subscriptions","organizations_url":"https://api.github.com/users/SafwatHalaby/orgs","repos_url":"https://api.github.com/users/SafwatHalaby/repos","events_url":"https://api.github.com/users/SafwatHalaby/events{/privacy}","received_events_url":"https://api.github.com/users/SafwatHalaby/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-05-03T10:00:23Z","updated_at":"2015-05-03T10:00:23Z","html_url":"https://github.com/mc-server/MCServer/pull/1930#discussion_r29554655","pull_request_url":"https://api.github.com/repos/mc-server/MCServer/pulls/1930","_links":{"self":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/comments/29554655"},"html":{"href":"https://github.com/mc-server/MCServer/pull/1930#discussion_r29554655"},"pull_request":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/1930"}}},"pull_request":{"url":"https://api.github.com/repos/mc-server/MCServer/pulls/1930","id":34589607,"html_url":"https://github.com/mc-server/MCServer/pull/1930","diff_url":"https://github.com/mc-server/MCServer/pull/1930.diff","patch_url":"https://github.com/mc-server/MCServer/pull/1930.patch","issue_url":"https://api.github.com/repos/mc-server/MCServer/issues/1930","number":1930,"state":"open","locked":false,"title":"AI - Improved Mob Jumping","user":{"login":"SafwatHalaby","id":5030488,"avatar_url":"https://avatars.githubusercontent.com/u/5030488?v=3","gravatar_id":"","url":"https://api.github.com/users/SafwatHalaby","html_url":"https://github.com/SafwatHalaby","followers_url":"https://api.github.com/users/SafwatHalaby/followers","following_url":"https://api.github.com/users/SafwatHalaby/following{/other_user}","gists_url":"https://api.github.com/users/SafwatHalaby/gists{/gist_id}","starred_url":"https://api.github.com/users/SafwatHalaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SafwatHalaby/subscriptions","organizations_url":"https://api.github.com/users/SafwatHalaby/orgs","repos_url":"https://api.github.com/users/SafwatHalaby/repos","events_url":"https://api.github.com/users/SafwatHalaby/events{/privacy}","received_events_url":"https://api.github.com/users/SafwatHalaby/received_events","type":"User","site_admin":false},"body":"Mobs now have a decent jump ability, and they go up blocks much more efficiently.","created_at":"2015-05-02T18:29:05Z","updated_at":"2015-05-03T10:00:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"762a49b8d2d6f2b1dba87d8027cb9a98ef15379b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mc-server/MCServer/pulls/1930/commits","review_comments_url":"https://api.github.com/repos/mc-server/MCServer/pulls/1930/comments","review_comment_url":"https://api.github.com/repos/mc-server/MCServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mc-server/MCServer/issues/1930/comments","statuses_url":"https://api.github.com/repos/mc-server/MCServer/statuses/2f3a7ff3181427087f4e48a90be493fcf67bc85d","head":{"label":"SafwatHalaby:AI_Jump","ref":"AI_Jump","sha":"2f3a7ff3181427087f4e48a90be493fcf67bc85d","user":{"login":"SafwatHalaby","id":5030488,"avatar_url":"https://avatars.githubusercontent.com/u/5030488?v=3","gravatar_id":"","url":"https://api.github.com/users/SafwatHalaby","html_url":"https://github.com/SafwatHalaby","followers_url":"https://api.github.com/users/SafwatHalaby/followers","following_url":"https://api.github.com/users/SafwatHalaby/following{/other_user}","gists_url":"https://api.github.com/users/SafwatHalaby/gists{/gist_id}","starred_url":"https://api.github.com/users/SafwatHalaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SafwatHalaby/subscriptions","organizations_url":"https://api.github.com/users/SafwatHalaby/orgs","repos_url":"https://api.github.com/users/SafwatHalaby/repos","events_url":"https://api.github.com/users/SafwatHalaby/events{/privacy}","received_events_url":"https://api.github.com/users/SafwatHalaby/received_events","type":"User","site_admin":false},"repo":{"id":18560372,"name":"MCServer","full_name":"SafwatHalaby/MCServer","owner":{"login":"SafwatHalaby","id":5030488,"avatar_url":"https://avatars.githubusercontent.com/u/5030488?v=3","gravatar_id":"","url":"https://api.github.com/users/SafwatHalaby","html_url":"https://github.com/SafwatHalaby","followers_url":"https://api.github.com/users/SafwatHalaby/followers","following_url":"https://api.github.com/users/SafwatHalaby/following{/other_user}","gists_url":"https://api.github.com/users/SafwatHalaby/gists{/gist_id}","starred_url":"https://api.github.com/users/SafwatHalaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SafwatHalaby/subscriptions","organizations_url":"https://api.github.com/users/SafwatHalaby/orgs","repos_url":"https://api.github.com/users/SafwatHalaby/repos","events_url":"https://api.github.com/users/SafwatHalaby/events{/privacy}","received_events_url":"https://api.github.com/users/SafwatHalaby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SafwatHalaby/MCServer","description":"A performant C++ Minecraft Server","fork":true,"url":"https://api.github.com/repos/SafwatHalaby/MCServer","forks_url":"https://api.github.com/repos/SafwatHalaby/MCServer/forks","keys_url":"https://api.github.com/repos/SafwatHalaby/MCServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SafwatHalaby/MCServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SafwatHalaby/MCServer/teams","hooks_url":"https://api.github.com/repos/SafwatHalaby/MCServer/hooks","issue_events_url":"https://api.github.com/repos/SafwatHalaby/MCServer/issues/events{/number}","events_url":"https://api.github.com/repos/SafwatHalaby/MCServer/events","assignees_url":"https://api.github.com/repos/SafwatHalaby/MCServer/assignees{/user}","branches_url":"https://api.github.com/repos/SafwatHalaby/MCServer/branches{/branch}","tags_url":"https://api.github.com/repos/SafwatHalaby/MCServer/tags","blobs_url":"https://api.github.com/repos/SafwatHalaby/MCServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SafwatHalaby/MCServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SafwatHalaby/MCServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/SafwatHalaby/MCServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SafwatHalaby/MCServer/statuses/{sha}","languages_url":"https://api.github.com/repos/SafwatHalaby/MCServer/languages","stargazers_url":"https://api.github.com/repos/SafwatHalaby/MCServer/stargazers","contributors_url":"https://api.github.com/repos/SafwatHalaby/MCServer/contributors","subscribers_url":"https://api.github.com/repos/SafwatHalaby/MCServer/subscribers","subscription_url":"https://api.github.com/repos/SafwatHalaby/MCServer/subscription","commits_url":"https://api.github.com/repos/SafwatHalaby/MCServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/SafwatHalaby/MCServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/SafwatHalaby/MCServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/SafwatHalaby/MCServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/SafwatHalaby/MCServer/contents/{+path}","compare_url":"https://api.github.com/repos/SafwatHalaby/MCServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SafwatHalaby/MCServer/merges","archive_url":"https://api.github.com/repos/SafwatHalaby/MCServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SafwatHalaby/MCServer/downloads","issues_url":"https://api.github.com/repos/SafwatHalaby/MCServer/issues{/number}","pulls_url":"https://api.github.com/repos/SafwatHalaby/MCServer/pulls{/number}","milestones_url":"https://api.github.com/repos/SafwatHalaby/MCServer/milestones{/number}","notifications_url":"https://api.github.com/repos/SafwatHalaby/MCServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SafwatHalaby/MCServer/labels{/name}","releases_url":"https://api.github.com/repos/SafwatHalaby/MCServer/releases{/id}","created_at":"2014-04-08T14:02:07Z","updated_at":"2015-05-02T16:50:30Z","pushed_at":"2015-05-03T10:00:07Z","git_url":"git://github.com/SafwatHalaby/MCServer.git","ssh_url":"git@github.com:SafwatHalaby/MCServer.git","clone_url":"https://github.com/SafwatHalaby/MCServer.git","svn_url":"https://github.com/SafwatHalaby/MCServer","homepage":"mc-server.org","size":73684,"stargazers_count":0,"watchers_count":0,"language":"C","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":"mc-server:master","ref":"master","sha":"e6eeee84e014568ffbfa69f4209aee067d2ec763","user":{"login":"mc-server","id":5096476,"avatar_url":"https://avatars.githubusercontent.com/u/5096476?v=3","gravatar_id":"","url":"https://api.github.com/users/mc-server","html_url":"https://github.com/mc-server","followers_url":"https://api.github.com/users/mc-server/followers","following_url":"https://api.github.com/users/mc-server/following{/other_user}","gists_url":"https://api.github.com/users/mc-server/gists{/gist_id}","starred_url":"https://api.github.com/users/mc-server/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mc-server/subscriptions","organizations_url":"https://api.github.com/users/mc-server/orgs","repos_url":"https://api.github.com/users/mc-server/repos","events_url":"https://api.github.com/users/mc-server/events{/privacy}","received_events_url":"https://api.github.com/users/mc-server/received_events","type":"Organization","site_admin":false},"repo":{"id":11693709,"name":"MCServer","full_name":"mc-server/MCServer","owner":{"login":"mc-server","id":5096476,"avatar_url":"https://avatars.githubusercontent.com/u/5096476?v=3","gravatar_id":"","url":"https://api.github.com/users/mc-server","html_url":"https://github.com/mc-server","followers_url":"https://api.github.com/users/mc-server/followers","following_url":"https://api.github.com/users/mc-server/following{/other_user}","gists_url":"https://api.github.com/users/mc-server/gists{/gist_id}","starred_url":"https://api.github.com/users/mc-server/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mc-server/subscriptions","organizations_url":"https://api.github.com/users/mc-server/orgs","repos_url":"https://api.github.com/users/mc-server/repos","events_url":"https://api.github.com/users/mc-server/events{/privacy}","received_events_url":"https://api.github.com/users/mc-server/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mc-server/MCServer","description":"A performant C++ Minecraft Server","fork":false,"url":"https://api.github.com/repos/mc-server/MCServer","forks_url":"https://api.github.com/repos/mc-server/MCServer/forks","keys_url":"https://api.github.com/repos/mc-server/MCServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mc-server/MCServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mc-server/MCServer/teams","hooks_url":"https://api.github.com/repos/mc-server/MCServer/hooks","issue_events_url":"https://api.github.com/repos/mc-server/MCServer/issues/events{/number}","events_url":"https://api.github.com/repos/mc-server/MCServer/events","assignees_url":"https://api.github.com/repos/mc-server/MCServer/assignees{/user}","branches_url":"https://api.github.com/repos/mc-server/MCServer/branches{/branch}","tags_url":"https://api.github.com/repos/mc-server/MCServer/tags","blobs_url":"https://api.github.com/repos/mc-server/MCServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mc-server/MCServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mc-server/MCServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/mc-server/MCServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mc-server/MCServer/statuses/{sha}","languages_url":"https://api.github.com/repos/mc-server/MCServer/languages","stargazers_url":"https://api.github.com/repos/mc-server/MCServer/stargazers","contributors_url":"https://api.github.com/repos/mc-server/MCServer/contributors","subscribers_url":"https://api.github.com/repos/mc-server/MCServer/subscribers","subscription_url":"https://api.github.com/repos/mc-server/MCServer/subscription","commits_url":"https://api.github.com/repos/mc-server/MCServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/mc-server/MCServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/mc-server/MCServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/mc-server/MCServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/mc-server/MCServer/contents/{+path}","compare_url":"https://api.github.com/repos/mc-server/MCServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mc-server/MCServer/merges","archive_url":"https://api.github.com/repos/mc-server/MCServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mc-server/MCServer/downloads","issues_url":"https://api.github.com/repos/mc-server/MCServer/issues{/number}","pulls_url":"https://api.github.com/repos/mc-server/MCServer/pulls{/number}","milestones_url":"https://api.github.com/repos/mc-server/MCServer/milestones{/number}","notifications_url":"https://api.github.com/repos/mc-server/MCServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mc-server/MCServer/labels{/name}","releases_url":"https://api.github.com/repos/mc-server/MCServer/releases{/id}","created_at":"2013-07-26T19:56:59Z","updated_at":"2015-05-03T09:51:11Z","pushed_at":"2015-05-03T10:00:08Z","git_url":"git://github.com/mc-server/MCServer.git","ssh_url":"git@github.com:mc-server/MCServer.git","clone_url":"https://github.com/mc-server/MCServer.git","svn_url":"https://github.com/mc-server/MCServer","homepage":"mc-server.org","size":161215,"stargazers_count":463,"watchers_count":463,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":164,"mirror_url":null,"open_issues_count":295,"forks":164,"open_issues":295,"watchers":463,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/1930"},"html":{"href":"https://github.com/mc-server/MCServer/pull/1930"},"issue":{"href":"https://api.github.com/repos/mc-server/MCServer/issues/1930"},"comments":{"href":"https://api.github.com/repos/mc-server/MCServer/issues/1930/comments"},"review_comments":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/1930/comments"},"review_comment":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/1930/commits"},"statuses":{"href":"https://api.github.com/repos/mc-server/MCServer/statuses/2f3a7ff3181427087f4e48a90be493fcf67bc85d"}}}}