{"action":"created","comment":{"url":"https://api.github.com/repos/mc-server/MCServer/pulls/comments/29776851","id":29776851,"diff_hunk":"@@ -314,7 +314,15 @@ void cMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)\n \tHandleDaylightBurning(*Chunk, WouldBurnAt(GetPosition(), *Chunk));\n \tif (TickPathFinding(*Chunk))\n \t{\n-\t\tif (m_BurnsInDaylight && WouldBurnAt(m_NextWayPointPosition, *Chunk->GetNeighborChunk(FloorC(m_NextWayPointPosition.x), FloorC(m_NextWayPointPosition.z))) && !IsOnFire() && (m_TicksSinceLastDamaged == 100))\n+\t\t/* If I burn in daylight, and I won't burn where I'm standing, and I'll burn in my next position, and at least one of those is true:\n+\t\t1. I am idle\n+\t\t2. I was not hurt by a player recently.\n+\t\tThen STOP. */\n+\t\tif (\n+\t\t\tm_BurnsInDaylight && ((m_TicksSinceLastDamaged == 100) || (m_EMState == IDLE)) &&","path":"src/Mobs/Monster.cpp","position":10,"original_position":10,"commit_id":"afc2e690b2d93536a528ab4cab38d323102d98f3","original_commit_id":"afc2e690b2d93536a528ab4cab38d323102d98f3","user":{"login":"bearbin","id":1297699,"avatar_url":"https://avatars.githubusercontent.com/u/1297699?v=3","gravatar_id":"","url":"https://api.github.com/users/bearbin","html_url":"https://github.com/bearbin","followers_url":"https://api.github.com/users/bearbin/followers","following_url":"https://api.github.com/users/bearbin/following{/other_user}","gists_url":"https://api.github.com/users/bearbin/gists{/gist_id}","starred_url":"https://api.github.com/users/bearbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearbin/subscriptions","organizations_url":"https://api.github.com/users/bearbin/orgs","repos_url":"https://api.github.com/users/bearbin/repos","events_url":"https://api.github.com/users/bearbin/events{/privacy}","received_events_url":"https://api.github.com/users/bearbin/received_events","type":"User","site_admin":false},"body":"Should this be >= 100 rather than == 100?","created_at":"2015-05-06T16:41:38Z","updated_at":"2015-05-06T16:41:38Z","html_url":"https://github.com/mc-server/MCServer/pull/1949#discussion_r29776851","pull_request_url":"https://api.github.com/repos/mc-server/MCServer/pulls/1949","_links":{"self":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/comments/29776851"},"html":{"href":"https://github.com/mc-server/MCServer/pull/1949#discussion_r29776851"},"pull_request":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/1949"}}},"pull_request":{"url":"https://api.github.com/repos/mc-server/MCServer/pulls/1949","id":34818800,"html_url":"https://github.com/mc-server/MCServer/pull/1949","diff_url":"https://github.com/mc-server/MCServer/pull/1949.diff","patch_url":"https://github.com/mc-server/MCServer/pull/1949.patch","issue_url":"https://api.github.com/repos/mc-server/MCServer/issues/1949","number":1949,"state":"open","locked":false,"title":"AI - Better shade cover","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":"Changed the conditions of when the AI should remain in shade (doesn't fix the mushroom issue). Specifically, made the zombies light-sane even when idle and not chasing player.\r\n\r\nThe change is pretty trivial, it is very unlikely to break anything.","created_at":"2015-05-06T13:55:19Z","updated_at":"2015-05-06T16:41:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b1fb05551d1b55d623480aa16ef6d248fc54d82","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mc-server/MCServer/pulls/1949/commits","review_comments_url":"https://api.github.com/repos/mc-server/MCServer/pulls/1949/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/1949/comments","statuses_url":"https://api.github.com/repos/mc-server/MCServer/statuses/afc2e690b2d93536a528ab4cab38d323102d98f3","head":{"label":"SafwatHalaby:burn","ref":"burn","sha":"afc2e690b2d93536a528ab4cab38d323102d98f3","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-06T07:57:37Z","pushed_at":"2015-05-06T14:25:11Z","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":73851,"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":"bd73dcedd4bdcfceb2a315f676e810ddcd6a3424","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-06T06:38:31Z","pushed_at":"2015-05-06T16:34:55Z","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":161580,"stargazers_count":466,"watchers_count":466,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":165,"mirror_url":null,"open_issues_count":298,"forks":165,"open_issues":298,"watchers":466,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/1949"},"html":{"href":"https://github.com/mc-server/MCServer/pull/1949"},"issue":{"href":"https://api.github.com/repos/mc-server/MCServer/issues/1949"},"comments":{"href":"https://api.github.com/repos/mc-server/MCServer/issues/1949/comments"},"review_comments":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/1949/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/1949/commits"},"statuses":{"href":"https://api.github.com/repos/mc-server/MCServer/statuses/afc2e690b2d93536a528ab4cab38d323102d98f3"}}}}