{"action":"closed","number":194,"pull_request":{"url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls/194","id":39322790,"html_url":"https://github.com/BluSunrize/ImmersiveEngineering/pull/194","diff_url":"https://github.com/BluSunrize/ImmersiveEngineering/pull/194.diff","patch_url":"https://github.com/BluSunrize/ImmersiveEngineering/pull/194.patch","issue_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/issues/194","number":194,"state":"closed","locked":false,"title":"getRandomMineral is actually random","user":{"login":"marcin212","id":3790635,"avatar_url":"https://avatars.githubusercontent.com/u/3790635?v=3","gravatar_id":"","url":"https://api.github.com/users/marcin212","html_url":"https://github.com/marcin212","followers_url":"https://api.github.com/users/marcin212/followers","following_url":"https://api.github.com/users/marcin212/following{/other_user}","gists_url":"https://api.github.com/users/marcin212/gists{/gist_id}","starred_url":"https://api.github.com/users/marcin212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcin212/subscriptions","organizations_url":"https://api.github.com/users/marcin212/orgs","repos_url":"https://api.github.com/users/marcin212/repos","events_url":"https://api.github.com/users/marcin212/events{/privacy}","received_events_url":"https://api.github.com/users/marcin212/received_events","type":"User","site_admin":false},"body":"before fix: http://ideone.com/KWhkBc\r\nafter fix: http://ideone.com/C2xmaQ\r\n\r\nIf \"weight\" is smaller then 0, then I can find only Iron, because Iron is first on mineral list.","created_at":"2015-07-06T23:50:44Z","updated_at":"2015-07-07T18:50:11Z","closed_at":"2015-07-07T18:50:11Z","merged_at":"2015-07-07T18:50:11Z","merge_commit_sha":"b86b37227a4099b536e0aa08787b3390deb1da74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls/194/commits","review_comments_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls/194/comments","review_comment_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/issues/194/comments","statuses_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/statuses/4fe4434bb8ff192190dd10216a2c6fcc22f566fb","head":{"label":"marcin212:original","ref":"original","sha":"4fe4434bb8ff192190dd10216a2c6fcc22f566fb","user":{"login":"marcin212","id":3790635,"avatar_url":"https://avatars.githubusercontent.com/u/3790635?v=3","gravatar_id":"","url":"https://api.github.com/users/marcin212","html_url":"https://github.com/marcin212","followers_url":"https://api.github.com/users/marcin212/followers","following_url":"https://api.github.com/users/marcin212/following{/other_user}","gists_url":"https://api.github.com/users/marcin212/gists{/gist_id}","starred_url":"https://api.github.com/users/marcin212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcin212/subscriptions","organizations_url":"https://api.github.com/users/marcin212/orgs","repos_url":"https://api.github.com/users/marcin212/repos","events_url":"https://api.github.com/users/marcin212/events{/privacy}","received_events_url":"https://api.github.com/users/marcin212/received_events","type":"User","site_admin":false},"repo":{"id":36826589,"name":"ImmersiveEngineering","full_name":"marcin212/ImmersiveEngineering","owner":{"login":"marcin212","id":3790635,"avatar_url":"https://avatars.githubusercontent.com/u/3790635?v=3","gravatar_id":"","url":"https://api.github.com/users/marcin212","html_url":"https://github.com/marcin212","followers_url":"https://api.github.com/users/marcin212/followers","following_url":"https://api.github.com/users/marcin212/following{/other_user}","gists_url":"https://api.github.com/users/marcin212/gists{/gist_id}","starred_url":"https://api.github.com/users/marcin212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcin212/subscriptions","organizations_url":"https://api.github.com/users/marcin212/orgs","repos_url":"https://api.github.com/users/marcin212/repos","events_url":"https://api.github.com/users/marcin212/events{/privacy}","received_events_url":"https://api.github.com/users/marcin212/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcin212/ImmersiveEngineering","description":"Wires, transformers, high voltage! Bzzzzt!","fork":true,"url":"https://api.github.com/repos/marcin212/ImmersiveEngineering","forks_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/forks","keys_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/teams","hooks_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/hooks","issue_events_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/issues/events{/number}","events_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/events","assignees_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/assignees{/user}","branches_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/branches{/branch}","tags_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/tags","blobs_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/statuses/{sha}","languages_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/languages","stargazers_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/stargazers","contributors_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/contributors","subscribers_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/subscribers","subscription_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/subscription","commits_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/contents/{+path}","compare_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/merges","archive_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/downloads","issues_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/issues{/number}","pulls_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/pulls{/number}","milestones_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/milestones{/number}","notifications_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/labels{/name}","releases_url":"https://api.github.com/repos/marcin212/ImmersiveEngineering/releases{/id}","created_at":"2015-06-03T19:47:23Z","updated_at":"2015-06-03T19:47:24Z","pushed_at":"2015-07-07T15:43:33Z","git_url":"git://github.com/marcin212/ImmersiveEngineering.git","ssh_url":"git@github.com:marcin212/ImmersiveEngineering.git","clone_url":"https://github.com/marcin212/ImmersiveEngineering.git","svn_url":"https://github.com/marcin212/ImmersiveEngineering","homepage":null,"size":13577,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"BluSunrize:master","ref":"master","sha":"ae207e5bee5ac5ae944dea88959062f46a1d0b26","user":{"login":"BluSunrize","id":4106382,"avatar_url":"https://avatars.githubusercontent.com/u/4106382?v=3","gravatar_id":"","url":"https://api.github.com/users/BluSunrize","html_url":"https://github.com/BluSunrize","followers_url":"https://api.github.com/users/BluSunrize/followers","following_url":"https://api.github.com/users/BluSunrize/following{/other_user}","gists_url":"https://api.github.com/users/BluSunrize/gists{/gist_id}","starred_url":"https://api.github.com/users/BluSunrize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BluSunrize/subscriptions","organizations_url":"https://api.github.com/users/BluSunrize/orgs","repos_url":"https://api.github.com/users/BluSunrize/repos","events_url":"https://api.github.com/users/BluSunrize/events{/privacy}","received_events_url":"https://api.github.com/users/BluSunrize/received_events","type":"User","site_admin":false},"repo":{"id":33401957,"name":"ImmersiveEngineering","full_name":"BluSunrize/ImmersiveEngineering","owner":{"login":"BluSunrize","id":4106382,"avatar_url":"https://avatars.githubusercontent.com/u/4106382?v=3","gravatar_id":"","url":"https://api.github.com/users/BluSunrize","html_url":"https://github.com/BluSunrize","followers_url":"https://api.github.com/users/BluSunrize/followers","following_url":"https://api.github.com/users/BluSunrize/following{/other_user}","gists_url":"https://api.github.com/users/BluSunrize/gists{/gist_id}","starred_url":"https://api.github.com/users/BluSunrize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BluSunrize/subscriptions","organizations_url":"https://api.github.com/users/BluSunrize/orgs","repos_url":"https://api.github.com/users/BluSunrize/repos","events_url":"https://api.github.com/users/BluSunrize/events{/privacy}","received_events_url":"https://api.github.com/users/BluSunrize/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BluSunrize/ImmersiveEngineering","description":"Wires, transformers, high voltage! Bzzzzt!","fork":false,"url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering","forks_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/forks","keys_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/teams","hooks_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/hooks","issue_events_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/issues/events{/number}","events_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/events","assignees_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/assignees{/user}","branches_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/branches{/branch}","tags_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/tags","blobs_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/git/refs{/sha}","trees_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/statuses/{sha}","languages_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/languages","stargazers_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/stargazers","contributors_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/contributors","subscribers_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/subscribers","subscription_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/subscription","commits_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/commits{/sha}","git_commits_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/git/commits{/sha}","comments_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/comments{/number}","issue_comment_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/issues/comments{/number}","contents_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/contents/{+path}","compare_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/merges","archive_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/downloads","issues_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/issues{/number}","pulls_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls{/number}","milestones_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/milestones{/number}","notifications_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/labels{/name}","releases_url":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/releases{/id}","created_at":"2015-04-04T10:29:28Z","updated_at":"2015-07-07T17:08:01Z","pushed_at":"2015-07-07T18:50:11Z","git_url":"git://github.com/BluSunrize/ImmersiveEngineering.git","ssh_url":"git@github.com:BluSunrize/ImmersiveEngineering.git","clone_url":"https://github.com/BluSunrize/ImmersiveEngineering.git","svn_url":"https://github.com/BluSunrize/ImmersiveEngineering","homepage":null,"size":14409,"stargazers_count":122,"watchers_count":122,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":9,"forks":72,"open_issues":9,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls/194"},"html":{"href":"https://github.com/BluSunrize/ImmersiveEngineering/pull/194"},"issue":{"href":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/issues/194"},"comments":{"href":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/BluSunrize/ImmersiveEngineering/statuses/4fe4434bb8ff192190dd10216a2c6fcc22f566fb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"BluSunrize","id":4106382,"avatar_url":"https://avatars.githubusercontent.com/u/4106382?v=3","gravatar_id":"","url":"https://api.github.com/users/BluSunrize","html_url":"https://github.com/BluSunrize","followers_url":"https://api.github.com/users/BluSunrize/followers","following_url":"https://api.github.com/users/BluSunrize/following{/other_user}","gists_url":"https://api.github.com/users/BluSunrize/gists{/gist_id}","starred_url":"https://api.github.com/users/BluSunrize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BluSunrize/subscriptions","organizations_url":"https://api.github.com/users/BluSunrize/orgs","repos_url":"https://api.github.com/users/BluSunrize/repos","events_url":"https://api.github.com/users/BluSunrize/events{/privacy}","received_events_url":"https://api.github.com/users/BluSunrize/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}