{"action":"created","comment":{"url":"https://api.github.com/repos/runelite/runelite/pulls/comments/173354020","pull_request_review_id":102531773,"id":173354020,"diff_hunk":"@@ -130,9 +134,13 @@ public void onGameStateChange(GameStateChanged event)\n \t\t\t\tamount = 0;\n \t\t\t\tbreak;\n \t\t\tcase LOGGED_IN:\n-\t\t\t\tif (config.amount() != -1 && !config.taskName().isEmpty())\n+\t\t\t\tif (!client.getUsername().equals(lastUsername))","path":"runelite-client/src/main/java/net/runelite/client/plugins/slayer/SlayerPlugin.java","position":23,"original_position":23,"commit_id":"322b6df95b6df72ff2be9971197b911a8862f501","original_commit_id":"322b6df95b6df72ff2be9971197b911a8862f501","user":{"login":"Adam-","id":309739,"avatar_url":"https://avatars2.githubusercontent.com/u/309739?v=4","gravatar_id":"","url":"https://api.github.com/users/Adam-","html_url":"https://github.com/Adam-","followers_url":"https://api.github.com/users/Adam-/followers","following_url":"https://api.github.com/users/Adam-/following{/other_user}","gists_url":"https://api.github.com/users/Adam-/gists{/gist_id}","starred_url":"https://api.github.com/users/Adam-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adam-/subscriptions","organizations_url":"https://api.github.com/users/Adam-/orgs","repos_url":"https://api.github.com/users/Adam-/repos","events_url":"https://api.github.com/users/Adam-/events{/privacy}","received_events_url":"https://api.github.com/users/Adam-/received_events","type":"User","site_admin":false},"body":"What is the reason for this logic?","created_at":"2018-03-09T02:51:02Z","updated_at":"2018-03-09T02:51:11Z","html_url":"https://github.com/runelite/runelite/pull/838#discussion_r173354020","pull_request_url":"https://api.github.com/repos/runelite/runelite/pulls/838","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/runelite/runelite/pulls/comments/173354020"},"html":{"href":"https://github.com/runelite/runelite/pull/838#discussion_r173354020"},"pull_request":{"href":"https://api.github.com/repos/runelite/runelite/pulls/838"}}},"pull_request":{"url":"https://api.github.com/repos/runelite/runelite/pulls/838","id":172969903,"html_url":"https://github.com/runelite/runelite/pull/838","diff_url":"https://github.com/runelite/runelite/pull/838.diff","patch_url":"https://github.com/runelite/runelite/pull/838.patch","issue_url":"https://api.github.com/repos/runelite/runelite/issues/838","number":838,"state":"open","locked":false,"title":"Add timer to hide Slayer infobox","user":{"login":"josharoo","id":35375991,"avatar_url":"https://avatars3.githubusercontent.com/u/35375991?v=4","gravatar_id":"","url":"https://api.github.com/users/josharoo","html_url":"https://github.com/josharoo","followers_url":"https://api.github.com/users/josharoo/followers","following_url":"https://api.github.com/users/josharoo/following{/other_user}","gists_url":"https://api.github.com/users/josharoo/gists{/gist_id}","starred_url":"https://api.github.com/users/josharoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josharoo/subscriptions","organizations_url":"https://api.github.com/users/josharoo/orgs","repos_url":"https://api.github.com/users/josharoo/repos","events_url":"https://api.github.com/users/josharoo/events{/privacy}","received_events_url":"https://api.github.com/users/josharoo/received_events","type":"User","site_admin":false},"body":"Add an option in plugin config to set a time for the infobox to expire\r\nChange setTask to only fire on initial login (to stop infobox appearing on every map change)\r\nInfobox reappears on getting task, checking task, killing slayer monster, and initial log in\r\n\r\nFirst contribution to a project of this nature so please let me know if there is anything that should be changed\r\n\r\nCloses #526 ","created_at":"2018-03-05T19:56:28Z","updated_at":"2018-03-09T02:51:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e2ca1af677d13b156ec3c152976e54bff6489b5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":771846940,"url":"https://api.github.com/repos/runelite/runelite/labels/feature-request","name":"feature-request","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/runelite/runelite/pulls/838/commits","review_comments_url":"https://api.github.com/repos/runelite/runelite/pulls/838/comments","review_comment_url":"https://api.github.com/repos/runelite/runelite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/runelite/runelite/issues/838/comments","statuses_url":"https://api.github.com/repos/runelite/runelite/statuses/322b6df95b6df72ff2be9971197b911a8862f501","head":{"label":"josharoo:slayer-infobox-expiry","ref":"slayer-infobox-expiry","sha":"322b6df95b6df72ff2be9971197b911a8862f501","user":{"login":"josharoo","id":35375991,"avatar_url":"https://avatars3.githubusercontent.com/u/35375991?v=4","gravatar_id":"","url":"https://api.github.com/users/josharoo","html_url":"https://github.com/josharoo","followers_url":"https://api.github.com/users/josharoo/followers","following_url":"https://api.github.com/users/josharoo/following{/other_user}","gists_url":"https://api.github.com/users/josharoo/gists{/gist_id}","starred_url":"https://api.github.com/users/josharoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josharoo/subscriptions","organizations_url":"https://api.github.com/users/josharoo/orgs","repos_url":"https://api.github.com/users/josharoo/repos","events_url":"https://api.github.com/users/josharoo/events{/privacy}","received_events_url":"https://api.github.com/users/josharoo/received_events","type":"User","site_admin":false},"repo":{"id":123901425,"name":"runelite","full_name":"josharoo/runelite","owner":{"login":"josharoo","id":35375991,"avatar_url":"https://avatars3.githubusercontent.com/u/35375991?v=4","gravatar_id":"","url":"https://api.github.com/users/josharoo","html_url":"https://github.com/josharoo","followers_url":"https://api.github.com/users/josharoo/followers","following_url":"https://api.github.com/users/josharoo/following{/other_user}","gists_url":"https://api.github.com/users/josharoo/gists{/gist_id}","starred_url":"https://api.github.com/users/josharoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josharoo/subscriptions","organizations_url":"https://api.github.com/users/josharoo/orgs","repos_url":"https://api.github.com/users/josharoo/repos","events_url":"https://api.github.com/users/josharoo/events{/privacy}","received_events_url":"https://api.github.com/users/josharoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/josharoo/runelite","description":"Open source Old School RuneScape client","fork":true,"url":"https://api.github.com/repos/josharoo/runelite","forks_url":"https://api.github.com/repos/josharoo/runelite/forks","keys_url":"https://api.github.com/repos/josharoo/runelite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/josharoo/runelite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/josharoo/runelite/teams","hooks_url":"https://api.github.com/repos/josharoo/runelite/hooks","issue_events_url":"https://api.github.com/repos/josharoo/runelite/issues/events{/number}","events_url":"https://api.github.com/repos/josharoo/runelite/events","assignees_url":"https://api.github.com/repos/josharoo/runelite/assignees{/user}","branches_url":"https://api.github.com/repos/josharoo/runelite/branches{/branch}","tags_url":"https://api.github.com/repos/josharoo/runelite/tags","blobs_url":"https://api.github.com/repos/josharoo/runelite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/josharoo/runelite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/josharoo/runelite/git/refs{/sha}","trees_url":"https://api.github.com/repos/josharoo/runelite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/josharoo/runelite/statuses/{sha}","languages_url":"https://api.github.com/repos/josharoo/runelite/languages","stargazers_url":"https://api.github.com/repos/josharoo/runelite/stargazers","contributors_url":"https://api.github.com/repos/josharoo/runelite/contributors","subscribers_url":"https://api.github.com/repos/josharoo/runelite/subscribers","subscription_url":"https://api.github.com/repos/josharoo/runelite/subscription","commits_url":"https://api.github.com/repos/josharoo/runelite/commits{/sha}","git_commits_url":"https://api.github.com/repos/josharoo/runelite/git/commits{/sha}","comments_url":"https://api.github.com/repos/josharoo/runelite/comments{/number}","issue_comment_url":"https://api.github.com/repos/josharoo/runelite/issues/comments{/number}","contents_url":"https://api.github.com/repos/josharoo/runelite/contents/{+path}","compare_url":"https://api.github.com/repos/josharoo/runelite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/josharoo/runelite/merges","archive_url":"https://api.github.com/repos/josharoo/runelite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/josharoo/runelite/downloads","issues_url":"https://api.github.com/repos/josharoo/runelite/issues{/number}","pulls_url":"https://api.github.com/repos/josharoo/runelite/pulls{/number}","milestones_url":"https://api.github.com/repos/josharoo/runelite/milestones{/number}","notifications_url":"https://api.github.com/repos/josharoo/runelite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/josharoo/runelite/labels{/name}","releases_url":"https://api.github.com/repos/josharoo/runelite/releases{/id}","deployments_url":"https://api.github.com/repos/josharoo/runelite/deployments","created_at":"2018-03-05T10:11:16Z","updated_at":"2018-03-05T10:11:22Z","pushed_at":"2018-03-06T21:10:46Z","git_url":"git://github.com/josharoo/runelite.git","ssh_url":"git@github.com:josharoo/runelite.git","clone_url":"https://github.com/josharoo/runelite.git","svn_url":"https://github.com/josharoo/runelite","homepage":"https://runelite.net","size":33144,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"runelite:master","ref":"master","sha":"42b7f3065a37a10e4a522eb544fe1298f384f230","user":{"login":"runelite","id":13814776,"avatar_url":"https://avatars1.githubusercontent.com/u/13814776?v=4","gravatar_id":"","url":"https://api.github.com/users/runelite","html_url":"https://github.com/runelite","followers_url":"https://api.github.com/users/runelite/followers","following_url":"https://api.github.com/users/runelite/following{/other_user}","gists_url":"https://api.github.com/users/runelite/gists{/gist_id}","starred_url":"https://api.github.com/users/runelite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runelite/subscriptions","organizations_url":"https://api.github.com/users/runelite/orgs","repos_url":"https://api.github.com/users/runelite/repos","events_url":"https://api.github.com/users/runelite/events{/privacy}","received_events_url":"https://api.github.com/users/runelite/received_events","type":"Organization","site_admin":false},"repo":{"id":57461213,"name":"runelite","full_name":"runelite/runelite","owner":{"login":"runelite","id":13814776,"avatar_url":"https://avatars1.githubusercontent.com/u/13814776?v=4","gravatar_id":"","url":"https://api.github.com/users/runelite","html_url":"https://github.com/runelite","followers_url":"https://api.github.com/users/runelite/followers","following_url":"https://api.github.com/users/runelite/following{/other_user}","gists_url":"https://api.github.com/users/runelite/gists{/gist_id}","starred_url":"https://api.github.com/users/runelite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runelite/subscriptions","organizations_url":"https://api.github.com/users/runelite/orgs","repos_url":"https://api.github.com/users/runelite/repos","events_url":"https://api.github.com/users/runelite/events{/privacy}","received_events_url":"https://api.github.com/users/runelite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/runelite/runelite","description":"Open source Old School RuneScape client","fork":false,"url":"https://api.github.com/repos/runelite/runelite","forks_url":"https://api.github.com/repos/runelite/runelite/forks","keys_url":"https://api.github.com/repos/runelite/runelite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runelite/runelite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runelite/runelite/teams","hooks_url":"https://api.github.com/repos/runelite/runelite/hooks","issue_events_url":"https://api.github.com/repos/runelite/runelite/issues/events{/number}","events_url":"https://api.github.com/repos/runelite/runelite/events","assignees_url":"https://api.github.com/repos/runelite/runelite/assignees{/user}","branches_url":"https://api.github.com/repos/runelite/runelite/branches{/branch}","tags_url":"https://api.github.com/repos/runelite/runelite/tags","blobs_url":"https://api.github.com/repos/runelite/runelite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runelite/runelite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runelite/runelite/git/refs{/sha}","trees_url":"https://api.github.com/repos/runelite/runelite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runelite/runelite/statuses/{sha}","languages_url":"https://api.github.com/repos/runelite/runelite/languages","stargazers_url":"https://api.github.com/repos/runelite/runelite/stargazers","contributors_url":"https://api.github.com/repos/runelite/runelite/contributors","subscribers_url":"https://api.github.com/repos/runelite/runelite/subscribers","subscription_url":"https://api.github.com/repos/runelite/runelite/subscription","commits_url":"https://api.github.com/repos/runelite/runelite/commits{/sha}","git_commits_url":"https://api.github.com/repos/runelite/runelite/git/commits{/sha}","comments_url":"https://api.github.com/repos/runelite/runelite/comments{/number}","issue_comment_url":"https://api.github.com/repos/runelite/runelite/issues/comments{/number}","contents_url":"https://api.github.com/repos/runelite/runelite/contents/{+path}","compare_url":"https://api.github.com/repos/runelite/runelite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runelite/runelite/merges","archive_url":"https://api.github.com/repos/runelite/runelite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runelite/runelite/downloads","issues_url":"https://api.github.com/repos/runelite/runelite/issues{/number}","pulls_url":"https://api.github.com/repos/runelite/runelite/pulls{/number}","milestones_url":"https://api.github.com/repos/runelite/runelite/milestones{/number}","notifications_url":"https://api.github.com/repos/runelite/runelite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runelite/runelite/labels{/name}","releases_url":"https://api.github.com/repos/runelite/runelite/releases{/id}","deployments_url":"https://api.github.com/repos/runelite/runelite/deployments","created_at":"2016-04-30T20:48:02Z","updated_at":"2018-03-08T15:44:20Z","pushed_at":"2018-03-09T02:46:18Z","git_url":"git://github.com/runelite/runelite.git","ssh_url":"git@github.com:runelite/runelite.git","clone_url":"https://github.com/runelite/runelite.git","svn_url":"https://github.com/runelite/runelite","homepage":"https://runelite.net","size":33907,"stargazers_count":182,"watchers_count":182,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":124,"mirror_url":null,"archived":false,"open_issues_count":177,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":124,"open_issues":177,"watchers":182,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/runelite/runelite/pulls/838"},"html":{"href":"https://github.com/runelite/runelite/pull/838"},"issue":{"href":"https://api.github.com/repos/runelite/runelite/issues/838"},"comments":{"href":"https://api.github.com/repos/runelite/runelite/issues/838/comments"},"review_comments":{"href":"https://api.github.com/repos/runelite/runelite/pulls/838/comments"},"review_comment":{"href":"https://api.github.com/repos/runelite/runelite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/runelite/runelite/pulls/838/commits"},"statuses":{"href":"https://api.github.com/repos/runelite/runelite/statuses/322b6df95b6df72ff2be9971197b911a8862f501"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Adam-"}}