{"action":"created","comment":{"url":"https://api.github.com/repos/NyxStudios/TShock/pulls/comments/83514735","pull_request_review_id":4357084,"id":83514735,"diff_hunk":"@@ -1741,6 +1741,14 @@ private static bool HandleSendTileSquare(GetDataHandlerArgs args)\n \t\t\t\t\t\t\tcontinue;\n \t\t\t\t\t\t}\n \n+\t\t\t\t\t\tif (((Main.tile[realx, realy + 1].type == TileID.Grass && (newtile.Type == TileID.Plants || newtile.Type == TileID.Plants2))\n+\t\t\t\t\t\t\t|| (Main.tile[realx, realy + 1].type == TileID.HallowedGrass && (newtile.Type == TileID.HallowedPlants || newtile.Type == TileID.HallowedPlants2))\n+\t\t\t\t\t\t\t|| (Main.tile[realx, realy + 1].type == TileID.JungleGrass && newtile.Type == TileID.JunglePlants2))\n+\t\t\t\t\t\t\t&& size == 1 && args.Player.Accessories.Any(i => i.active && i.netID == ItemID.FlowerBoots))","path":"TShockAPI/GetDataHandlers.cs","position":7,"original_position":7,"commit_id":"22f4560b18db649787eaad8bf0064fe623b587f7","original_commit_id":"22f4560b18db649787eaad8bf0064fe623b587f7","user":{"login":"nicatronTg","id":532647,"avatar_url":"https://avatars.githubusercontent.com/u/532647?v=3","gravatar_id":"","url":"https://api.github.com/users/nicatronTg","html_url":"https://github.com/nicatronTg","followers_url":"https://api.github.com/users/nicatronTg/followers","following_url":"https://api.github.com/users/nicatronTg/following{/other_user}","gists_url":"https://api.github.com/users/nicatronTg/gists{/gist_id}","starred_url":"https://api.github.com/users/nicatronTg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicatronTg/subscriptions","organizations_url":"https://api.github.com/users/nicatronTg/orgs","repos_url":"https://api.github.com/users/nicatronTg/repos","events_url":"https://api.github.com/users/nicatronTg/events{/privacy}","received_events_url":"https://api.github.com/users/nicatronTg/received_events","type":"User","site_admin":false},"body":"Agree with Enerdy that we can short circuit this by moving the lower checks up the chain.\r\n\r\nEven for clarity, I'd really prefer this to be a little more than one if statement with tons of conditions too.","created_at":"2016-10-14T22:58:03Z","updated_at":"2016-10-14T22:58:03Z","html_url":"https://github.com/NyxStudios/TShock/pull/1300#discussion_r83514735","pull_request_url":"https://api.github.com/repos/NyxStudios/TShock/pulls/1300","_links":{"self":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/comments/83514735"},"html":{"href":"https://github.com/NyxStudios/TShock/pull/1300#discussion_r83514735"},"pull_request":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/1300"}}},"pull_request":{"url":"https://api.github.com/repos/NyxStudios/TShock/pulls/1300","id":89456612,"html_url":"https://github.com/NyxStudios/TShock/pull/1300","diff_url":"https://github.com/NyxStudios/TShock/pull/1300.diff","patch_url":"https://github.com/NyxStudios/TShock/pull/1300.patch","issue_url":"https://api.github.com/repos/NyxStudios/TShock/issues/1300","number":1300,"state":"open","locked":false,"title":"Fixes #1021","user":{"login":"ProfessorXZ","id":7541476,"avatar_url":"https://avatars.githubusercontent.com/u/7541476?v=3","gravatar_id":"","url":"https://api.github.com/users/ProfessorXZ","html_url":"https://github.com/ProfessorXZ","followers_url":"https://api.github.com/users/ProfessorXZ/followers","following_url":"https://api.github.com/users/ProfessorXZ/following{/other_user}","gists_url":"https://api.github.com/users/ProfessorXZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ProfessorXZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProfessorXZ/subscriptions","organizations_url":"https://api.github.com/users/ProfessorXZ/orgs","repos_url":"https://api.github.com/users/ProfessorXZ/repos","events_url":"https://api.github.com/users/ProfessorXZ/events{/privacy}","received_events_url":"https://api.github.com/users/ProfessorXZ/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-14T21:19:33Z","updated_at":"2016-10-14T22:58:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad8568ac2bf1d769258412d4bc81ca135a08b7a1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NyxStudios/TShock/pulls/1300/commits","review_comments_url":"https://api.github.com/repos/NyxStudios/TShock/pulls/1300/comments","review_comment_url":"https://api.github.com/repos/NyxStudios/TShock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NyxStudios/TShock/issues/1300/comments","statuses_url":"https://api.github.com/repos/NyxStudios/TShock/statuses/22f4560b18db649787eaad8bf0064fe623b587f7","head":{"label":"ProfessorXZ:general-devel","ref":"general-devel","sha":"22f4560b18db649787eaad8bf0064fe623b587f7","user":{"login":"ProfessorXZ","id":7541476,"avatar_url":"https://avatars.githubusercontent.com/u/7541476?v=3","gravatar_id":"","url":"https://api.github.com/users/ProfessorXZ","html_url":"https://github.com/ProfessorXZ","followers_url":"https://api.github.com/users/ProfessorXZ/followers","following_url":"https://api.github.com/users/ProfessorXZ/following{/other_user}","gists_url":"https://api.github.com/users/ProfessorXZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ProfessorXZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProfessorXZ/subscriptions","organizations_url":"https://api.github.com/users/ProfessorXZ/orgs","repos_url":"https://api.github.com/users/ProfessorXZ/repos","events_url":"https://api.github.com/users/ProfessorXZ/events{/privacy}","received_events_url":"https://api.github.com/users/ProfessorXZ/received_events","type":"User","site_admin":false},"repo":{"id":61863684,"name":"TShock","full_name":"ProfessorXZ/TShock","owner":{"login":"ProfessorXZ","id":7541476,"avatar_url":"https://avatars.githubusercontent.com/u/7541476?v=3","gravatar_id":"","url":"https://api.github.com/users/ProfessorXZ","html_url":"https://github.com/ProfessorXZ","followers_url":"https://api.github.com/users/ProfessorXZ/followers","following_url":"https://api.github.com/users/ProfessorXZ/following{/other_user}","gists_url":"https://api.github.com/users/ProfessorXZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ProfessorXZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProfessorXZ/subscriptions","organizations_url":"https://api.github.com/users/ProfessorXZ/orgs","repos_url":"https://api.github.com/users/ProfessorXZ/repos","events_url":"https://api.github.com/users/ProfessorXZ/events{/privacy}","received_events_url":"https://api.github.com/users/ProfessorXZ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ProfessorXZ/TShock","description":"A server mod for Terraria that adds features everyone loves.","fork":true,"url":"https://api.github.com/repos/ProfessorXZ/TShock","forks_url":"https://api.github.com/repos/ProfessorXZ/TShock/forks","keys_url":"https://api.github.com/repos/ProfessorXZ/TShock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProfessorXZ/TShock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProfessorXZ/TShock/teams","hooks_url":"https://api.github.com/repos/ProfessorXZ/TShock/hooks","issue_events_url":"https://api.github.com/repos/ProfessorXZ/TShock/issues/events{/number}","events_url":"https://api.github.com/repos/ProfessorXZ/TShock/events","assignees_url":"https://api.github.com/repos/ProfessorXZ/TShock/assignees{/user}","branches_url":"https://api.github.com/repos/ProfessorXZ/TShock/branches{/branch}","tags_url":"https://api.github.com/repos/ProfessorXZ/TShock/tags","blobs_url":"https://api.github.com/repos/ProfessorXZ/TShock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProfessorXZ/TShock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProfessorXZ/TShock/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProfessorXZ/TShock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProfessorXZ/TShock/statuses/{sha}","languages_url":"https://api.github.com/repos/ProfessorXZ/TShock/languages","stargazers_url":"https://api.github.com/repos/ProfessorXZ/TShock/stargazers","contributors_url":"https://api.github.com/repos/ProfessorXZ/TShock/contributors","subscribers_url":"https://api.github.com/repos/ProfessorXZ/TShock/subscribers","subscription_url":"https://api.github.com/repos/ProfessorXZ/TShock/subscription","commits_url":"https://api.github.com/repos/ProfessorXZ/TShock/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProfessorXZ/TShock/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProfessorXZ/TShock/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProfessorXZ/TShock/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProfessorXZ/TShock/contents/{+path}","compare_url":"https://api.github.com/repos/ProfessorXZ/TShock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProfessorXZ/TShock/merges","archive_url":"https://api.github.com/repos/ProfessorXZ/TShock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProfessorXZ/TShock/downloads","issues_url":"https://api.github.com/repos/ProfessorXZ/TShock/issues{/number}","pulls_url":"https://api.github.com/repos/ProfessorXZ/TShock/pulls{/number}","milestones_url":"https://api.github.com/repos/ProfessorXZ/TShock/milestones{/number}","notifications_url":"https://api.github.com/repos/ProfessorXZ/TShock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProfessorXZ/TShock/labels{/name}","releases_url":"https://api.github.com/repos/ProfessorXZ/TShock/releases{/id}","deployments_url":"https://api.github.com/repos/ProfessorXZ/TShock/deployments","created_at":"2016-06-24T06:59:51Z","updated_at":"2016-06-24T06:59:52Z","pushed_at":"2016-10-14T21:18:40Z","git_url":"git://github.com/ProfessorXZ/TShock.git","ssh_url":"git@github.com:ProfessorXZ/TShock.git","clone_url":"https://github.com/ProfessorXZ/TShock.git","svn_url":"https://github.com/ProfessorXZ/TShock","homepage":"https://tshock.co/","size":47330,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"general-devel"}},"base":{"label":"NyxStudios:general-devel","ref":"general-devel","sha":"1c9faa84a805772656f103eba872ef10275b5f7b","user":{"login":"NyxStudios","id":826956,"avatar_url":"https://avatars.githubusercontent.com/u/826956?v=3","gravatar_id":"","url":"https://api.github.com/users/NyxStudios","html_url":"https://github.com/NyxStudios","followers_url":"https://api.github.com/users/NyxStudios/followers","following_url":"https://api.github.com/users/NyxStudios/following{/other_user}","gists_url":"https://api.github.com/users/NyxStudios/gists{/gist_id}","starred_url":"https://api.github.com/users/NyxStudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NyxStudios/subscriptions","organizations_url":"https://api.github.com/users/NyxStudios/orgs","repos_url":"https://api.github.com/users/NyxStudios/repos","events_url":"https://api.github.com/users/NyxStudios/events{/privacy}","received_events_url":"https://api.github.com/users/NyxStudios/received_events","type":"Organization","site_admin":false},"repo":{"id":1841284,"name":"TShock","full_name":"NyxStudios/TShock","owner":{"login":"NyxStudios","id":826956,"avatar_url":"https://avatars.githubusercontent.com/u/826956?v=3","gravatar_id":"","url":"https://api.github.com/users/NyxStudios","html_url":"https://github.com/NyxStudios","followers_url":"https://api.github.com/users/NyxStudios/followers","following_url":"https://api.github.com/users/NyxStudios/following{/other_user}","gists_url":"https://api.github.com/users/NyxStudios/gists{/gist_id}","starred_url":"https://api.github.com/users/NyxStudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NyxStudios/subscriptions","organizations_url":"https://api.github.com/users/NyxStudios/orgs","repos_url":"https://api.github.com/users/NyxStudios/repos","events_url":"https://api.github.com/users/NyxStudios/events{/privacy}","received_events_url":"https://api.github.com/users/NyxStudios/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NyxStudios/TShock","description":"A server mod for Terraria that adds features everyone loves.","fork":false,"url":"https://api.github.com/repos/NyxStudios/TShock","forks_url":"https://api.github.com/repos/NyxStudios/TShock/forks","keys_url":"https://api.github.com/repos/NyxStudios/TShock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NyxStudios/TShock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NyxStudios/TShock/teams","hooks_url":"https://api.github.com/repos/NyxStudios/TShock/hooks","issue_events_url":"https://api.github.com/repos/NyxStudios/TShock/issues/events{/number}","events_url":"https://api.github.com/repos/NyxStudios/TShock/events","assignees_url":"https://api.github.com/repos/NyxStudios/TShock/assignees{/user}","branches_url":"https://api.github.com/repos/NyxStudios/TShock/branches{/branch}","tags_url":"https://api.github.com/repos/NyxStudios/TShock/tags","blobs_url":"https://api.github.com/repos/NyxStudios/TShock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NyxStudios/TShock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NyxStudios/TShock/git/refs{/sha}","trees_url":"https://api.github.com/repos/NyxStudios/TShock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NyxStudios/TShock/statuses/{sha}","languages_url":"https://api.github.com/repos/NyxStudios/TShock/languages","stargazers_url":"https://api.github.com/repos/NyxStudios/TShock/stargazers","contributors_url":"https://api.github.com/repos/NyxStudios/TShock/contributors","subscribers_url":"https://api.github.com/repos/NyxStudios/TShock/subscribers","subscription_url":"https://api.github.com/repos/NyxStudios/TShock/subscription","commits_url":"https://api.github.com/repos/NyxStudios/TShock/commits{/sha}","git_commits_url":"https://api.github.com/repos/NyxStudios/TShock/git/commits{/sha}","comments_url":"https://api.github.com/repos/NyxStudios/TShock/comments{/number}","issue_comment_url":"https://api.github.com/repos/NyxStudios/TShock/issues/comments{/number}","contents_url":"https://api.github.com/repos/NyxStudios/TShock/contents/{+path}","compare_url":"https://api.github.com/repos/NyxStudios/TShock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NyxStudios/TShock/merges","archive_url":"https://api.github.com/repos/NyxStudios/TShock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NyxStudios/TShock/downloads","issues_url":"https://api.github.com/repos/NyxStudios/TShock/issues{/number}","pulls_url":"https://api.github.com/repos/NyxStudios/TShock/pulls{/number}","milestones_url":"https://api.github.com/repos/NyxStudios/TShock/milestones{/number}","notifications_url":"https://api.github.com/repos/NyxStudios/TShock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NyxStudios/TShock/labels{/name}","releases_url":"https://api.github.com/repos/NyxStudios/TShock/releases{/id}","deployments_url":"https://api.github.com/repos/NyxStudios/TShock/deployments","created_at":"2011-06-03T07:14:27Z","updated_at":"2016-10-11T01:22:27Z","pushed_at":"2016-10-14T22:20:24Z","git_url":"git://github.com/NyxStudios/TShock.git","ssh_url":"git@github.com:NyxStudios/TShock.git","clone_url":"https://github.com/NyxStudios/TShock.git","svn_url":"https://github.com/NyxStudios/TShock","homepage":"https://tshock.co/","size":52477,"stargazers_count":637,"watchers_count":637,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":200,"mirror_url":null,"open_issues_count":26,"forks":200,"open_issues":26,"watchers":637,"default_branch":"general-devel"}},"_links":{"self":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/1300"},"html":{"href":"https://github.com/NyxStudios/TShock/pull/1300"},"issue":{"href":"https://api.github.com/repos/NyxStudios/TShock/issues/1300"},"comments":{"href":"https://api.github.com/repos/NyxStudios/TShock/issues/1300/comments"},"review_comments":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/1300/comments"},"review_comment":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/1300/commits"},"statuses":{"href":"https://api.github.com/repos/NyxStudios/TShock/statuses/22f4560b18db649787eaad8bf0064fe623b587f7"}}}}
{"actor":{"display_login":"nicatronTg"}}