{"action":"opened","number":1130,"pull_request":{"url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/1130","id":123939270,"html_url":"https://github.com/Minecolonies/minecolonies/pull/1130","diff_url":"https://github.com/Minecolonies/minecolonies/pull/1130.diff","patch_url":"https://github.com/Minecolonies/minecolonies/pull/1130.patch","issue_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/1130","number":1130,"state":"open","locked":false,"title":"Adding Townhall Stats 1.10","user":{"login":"Asherslab","id":28527281,"avatar_url":"https://avatars2.githubusercontent.com/u/28527281?v=3","gravatar_id":"","url":"https://api.github.com/users/Asherslab","html_url":"https://github.com/Asherslab","followers_url":"https://api.github.com/users/Asherslab/followers","following_url":"https://api.github.com/users/Asherslab/following{/other_user}","gists_url":"https://api.github.com/users/Asherslab/gists{/gist_id}","starred_url":"https://api.github.com/users/Asherslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asherslab/subscriptions","organizations_url":"https://api.github.com/users/Asherslab/orgs","repos_url":"https://api.github.com/users/Asherslab/repos","events_url":"https://api.github.com/users/Asherslab/events{/privacy}","received_events_url":"https://api.github.com/users/Asherslab/received_events","type":"User","site_admin":false},"body":"* Adding Townhall Stats\r\n\r\nAdded stats on Info Page of Towhall for miners, fishermen, guards, lumberjacks and farmer. Also moved Total Happiness from Actions page to Info Page\r\n\r\n* remove unused import\r\n\r\n* Gets rid of Sonars Nested Ternary Operations error\r\n\r\nI know it's ugly but i can't really think of another way to do it, sorry, i don't completely understand lambdas yet.\r\n\r\n* Making codacy happy\r\n\r\nChanged a couple variable to immutable (final)\r\n\r\n* Sonar Check\r\n\r\nI'd like to see what sonar says about this.\r\n\r\n* Moved stuff into TranslationConstats.java\r\n\r\n* Un-Nested ternary Operations\r\n\r\nI think this one is clear, what do you guys think? also made codacy happy bye changing something to Immutable\r\n\r\n* removed unnecessary comparisons\r\n\r\nand got confused about sonar. lol. think i got it though\r\n\r\n* Moved Open Curly braces\r\n\r\nWow, just wow.\r\n\r\n* Moved more curly braces....\r\n\r\n* Un-Nested ternary Operations 2.0\r\n\r\nWow, so much simpler\r\n\r\n* Got rid of un-used import\r\n\r\nWoops\r\n\r\nCloses #\r\nCloses #\r\nCloses #\r\n\r\n# Changes proposed in this pull request:\r\n- More stats in town hall and other stuff\r\n- Literally the same PR as the one for 1.11\r\n- I honestly haven't tested it for 1.10 because i don't have that version on my mac.\r\n\r\nReview please\r\n","created_at":"2017-06-05T09:03:19Z","updated_at":"2017-06-05T09:03:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"Asherslab","id":28527281,"avatar_url":"https://avatars2.githubusercontent.com/u/28527281?v=3","gravatar_id":"","url":"https://api.github.com/users/Asherslab","html_url":"https://github.com/Asherslab","followers_url":"https://api.github.com/users/Asherslab/followers","following_url":"https://api.github.com/users/Asherslab/following{/other_user}","gists_url":"https://api.github.com/users/Asherslab/gists{/gist_id}","starred_url":"https://api.github.com/users/Asherslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asherslab/subscriptions","organizations_url":"https://api.github.com/users/Asherslab/orgs","repos_url":"https://api.github.com/users/Asherslab/repos","events_url":"https://api.github.com/users/Asherslab/events{/privacy}","received_events_url":"https://api.github.com/users/Asherslab/received_events","type":"User","site_admin":false},"assignees":[{"login":"Asherslab","id":28527281,"avatar_url":"https://avatars2.githubusercontent.com/u/28527281?v=3","gravatar_id":"","url":"https://api.github.com/users/Asherslab","html_url":"https://github.com/Asherslab","followers_url":"https://api.github.com/users/Asherslab/followers","following_url":"https://api.github.com/users/Asherslab/following{/other_user}","gists_url":"https://api.github.com/users/Asherslab/gists{/gist_id}","starred_url":"https://api.github.com/users/Asherslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asherslab/subscriptions","organizations_url":"https://api.github.com/users/Asherslab/orgs","repos_url":"https://api.github.com/users/Asherslab/repos","events_url":"https://api.github.com/users/Asherslab/events{/privacy}","received_events_url":"https://api.github.com/users/Asherslab/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/1130/commits","review_comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/1130/comments","review_comment_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/1130/comments","statuses_url":"https://api.github.com/repos/Minecolonies/minecolonies/statuses/ee86677d3bf5566a8a761fb05f853755610e14c5","head":{"label":"Minecolonies:TownHallStats1.10","ref":"TownHallStats1.10","sha":"ee86677d3bf5566a8a761fb05f853755610e14c5","user":{"login":"Minecolonies","id":5167336,"avatar_url":"https://avatars0.githubusercontent.com/u/5167336?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecolonies","html_url":"https://github.com/Minecolonies","followers_url":"https://api.github.com/users/Minecolonies/followers","following_url":"https://api.github.com/users/Minecolonies/following{/other_user}","gists_url":"https://api.github.com/users/Minecolonies/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecolonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecolonies/subscriptions","organizations_url":"https://api.github.com/users/Minecolonies/orgs","repos_url":"https://api.github.com/users/Minecolonies/repos","events_url":"https://api.github.com/users/Minecolonies/events{/privacy}","received_events_url":"https://api.github.com/users/Minecolonies/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"name":"minecolonies","full_name":"Minecolonies/minecolonies","owner":{"login":"Minecolonies","id":5167336,"avatar_url":"https://avatars0.githubusercontent.com/u/5167336?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecolonies","html_url":"https://github.com/Minecolonies","followers_url":"https://api.github.com/users/Minecolonies/followers","following_url":"https://api.github.com/users/Minecolonies/following{/other_user}","gists_url":"https://api.github.com/users/Minecolonies/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecolonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecolonies/subscriptions","organizations_url":"https://api.github.com/users/Minecolonies/orgs","repos_url":"https://api.github.com/users/Minecolonies/repos","events_url":"https://api.github.com/users/Minecolonies/events{/privacy}","received_events_url":"https://api.github.com/users/Minecolonies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Minecolonies/minecolonies","description":"Minecolonies minecraft mod","fork":false,"url":"https://api.github.com/repos/Minecolonies/minecolonies","forks_url":"https://api.github.com/repos/Minecolonies/minecolonies/forks","keys_url":"https://api.github.com/repos/Minecolonies/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Minecolonies/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Minecolonies/minecolonies/teams","hooks_url":"https://api.github.com/repos/Minecolonies/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/Minecolonies/minecolonies/events","assignees_url":"https://api.github.com/repos/Minecolonies/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/Minecolonies/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/Minecolonies/minecolonies/tags","blobs_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Minecolonies/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/Minecolonies/minecolonies/languages","stargazers_url":"https://api.github.com/repos/Minecolonies/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/Minecolonies/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/Minecolonies/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/Minecolonies/minecolonies/subscription","commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/Minecolonies/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/Minecolonies/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Minecolonies/minecolonies/merges","archive_url":"https://api.github.com/repos/Minecolonies/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Minecolonies/minecolonies/downloads","issues_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/Minecolonies/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/Minecolonies/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Minecolonies/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/Minecolonies/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/Minecolonies/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2017-05-28T05:29:31Z","pushed_at":"2017-06-05T09:00:54Z","git_url":"git://github.com/Minecolonies/minecolonies.git","ssh_url":"git@github.com:Minecolonies/minecolonies.git","clone_url":"https://github.com/Minecolonies/minecolonies.git","svn_url":"https://github.com/Minecolonies/minecolonies","homepage":"http://minecolonies.com/","size":21111,"stargazers_count":40,"watchers_count":40,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":119,"forks":35,"open_issues":119,"watchers":40,"default_branch":"version/1.11"}},"base":{"label":"Minecolonies:version/1.10","ref":"version/1.10","sha":"ee4dcad576c5a77308422e9714caac6134ec64df","user":{"login":"Minecolonies","id":5167336,"avatar_url":"https://avatars0.githubusercontent.com/u/5167336?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecolonies","html_url":"https://github.com/Minecolonies","followers_url":"https://api.github.com/users/Minecolonies/followers","following_url":"https://api.github.com/users/Minecolonies/following{/other_user}","gists_url":"https://api.github.com/users/Minecolonies/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecolonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecolonies/subscriptions","organizations_url":"https://api.github.com/users/Minecolonies/orgs","repos_url":"https://api.github.com/users/Minecolonies/repos","events_url":"https://api.github.com/users/Minecolonies/events{/privacy}","received_events_url":"https://api.github.com/users/Minecolonies/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"name":"minecolonies","full_name":"Minecolonies/minecolonies","owner":{"login":"Minecolonies","id":5167336,"avatar_url":"https://avatars0.githubusercontent.com/u/5167336?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecolonies","html_url":"https://github.com/Minecolonies","followers_url":"https://api.github.com/users/Minecolonies/followers","following_url":"https://api.github.com/users/Minecolonies/following{/other_user}","gists_url":"https://api.github.com/users/Minecolonies/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecolonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecolonies/subscriptions","organizations_url":"https://api.github.com/users/Minecolonies/orgs","repos_url":"https://api.github.com/users/Minecolonies/repos","events_url":"https://api.github.com/users/Minecolonies/events{/privacy}","received_events_url":"https://api.github.com/users/Minecolonies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Minecolonies/minecolonies","description":"Minecolonies minecraft mod","fork":false,"url":"https://api.github.com/repos/Minecolonies/minecolonies","forks_url":"https://api.github.com/repos/Minecolonies/minecolonies/forks","keys_url":"https://api.github.com/repos/Minecolonies/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Minecolonies/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Minecolonies/minecolonies/teams","hooks_url":"https://api.github.com/repos/Minecolonies/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/Minecolonies/minecolonies/events","assignees_url":"https://api.github.com/repos/Minecolonies/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/Minecolonies/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/Minecolonies/minecolonies/tags","blobs_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Minecolonies/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/Minecolonies/minecolonies/languages","stargazers_url":"https://api.github.com/repos/Minecolonies/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/Minecolonies/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/Minecolonies/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/Minecolonies/minecolonies/subscription","commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/Minecolonies/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/Minecolonies/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Minecolonies/minecolonies/merges","archive_url":"https://api.github.com/repos/Minecolonies/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Minecolonies/minecolonies/downloads","issues_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/Minecolonies/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/Minecolonies/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Minecolonies/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/Minecolonies/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/Minecolonies/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2017-05-28T05:29:31Z","pushed_at":"2017-06-05T09:00:54Z","git_url":"git://github.com/Minecolonies/minecolonies.git","ssh_url":"git@github.com:Minecolonies/minecolonies.git","clone_url":"https://github.com/Minecolonies/minecolonies.git","svn_url":"https://github.com/Minecolonies/minecolonies","homepage":"http://minecolonies.com/","size":21111,"stargazers_count":40,"watchers_count":40,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":119,"forks":35,"open_issues":119,"watchers":40,"default_branch":"version/1.11"}},"_links":{"self":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/1130"},"html":{"href":"https://github.com/Minecolonies/minecolonies/pull/1130"},"issue":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/issues/1130"},"comments":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/issues/1130/comments"},"review_comments":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/1130/comments"},"review_comment":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/1130/commits"},"statuses":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/statuses/ee86677d3bf5566a8a761fb05f853755610e14c5"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":193,"deletions":41,"changed_files":4}}
{"actor":{"display_login":"Asherslab"}}