{"action":"created","comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments/35548653","id":35548653,"diff_hunk":"@@ -54,10 +54,12 @@ public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer\n             player.fishEntity.handleHookRetraction();\n         } else {\n             EntityFishHook fishHook = new EntityFishHook(world, player);\n-            if (!Sponge.getGame().getEventManager()\n+            if (world.isRemote || !Sponge.getGame().getEventManager()","path":"src/main/java/org/spongepowered/common/mixin/core/item/MixinItemFishingRod.java","position":5,"original_position":5,"commit_id":"bb54513080e6ea9cab118d933cecc2067aa293be","original_commit_id":"bb54513080e6ea9cab118d933cecc2067aa293be","user":{"login":"JBYoshi","id":12983479,"avatar_url":"https://avatars.githubusercontent.com/u/12983479?v=3","gravatar_id":"","url":"https://api.github.com/users/JBYoshi","html_url":"https://github.com/JBYoshi","followers_url":"https://api.github.com/users/JBYoshi/followers","following_url":"https://api.github.com/users/JBYoshi/following{/other_user}","gists_url":"https://api.github.com/users/JBYoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/JBYoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBYoshi/subscriptions","organizations_url":"https://api.github.com/users/JBYoshi/orgs","repos_url":"https://api.github.com/users/JBYoshi/repos","events_url":"https://api.github.com/users/JBYoshi/events{/privacy}","received_events_url":"https://api.github.com/users/JBYoshi/received_events","type":"User","site_admin":false},"body":"I agree with @ryantheleach. But we still have to figure out how to take care of `EntityPlayerSP`.","created_at":"2015-07-27T15:26:31Z","updated_at":"2015-07-27T15:26:31Z","html_url":"https://github.com/SpongePowered/SpongeCommon/pull/109#discussion_r35548653","pull_request_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments/35548653"},"html":{"href":"https://github.com/SpongePowered/SpongeCommon/pull/109#discussion_r35548653"},"pull_request":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/109","id":40858136,"html_url":"https://github.com/SpongePowered/SpongeCommon/pull/109","diff_url":"https://github.com/SpongePowered/SpongeCommon/pull/109.diff","patch_url":"https://github.com/SpongePowered/SpongeCommon/pull/109.patch","issue_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/109","number":109,"state":"open","locked":false,"title":"Fix event-related casts failing on the client side.","user":{"login":"JBYoshi","id":12983479,"avatar_url":"https://avatars.githubusercontent.com/u/12983479?v=3","gravatar_id":"","url":"https://api.github.com/users/JBYoshi","html_url":"https://github.com/JBYoshi","followers_url":"https://api.github.com/users/JBYoshi/followers","following_url":"https://api.github.com/users/JBYoshi/following{/other_user}","gists_url":"https://api.github.com/users/JBYoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/JBYoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBYoshi/subscriptions","organizations_url":"https://api.github.com/users/JBYoshi/orgs","repos_url":"https://api.github.com/users/JBYoshi/repos","events_url":"https://api.github.com/users/JBYoshi/events{/privacy}","received_events_url":"https://api.github.com/users/JBYoshi/received_events","type":"User","site_admin":false},"body":"Fixes SpongePowered/Sponge#311 by not firing the event on the client thread\r\nFixes SpongePowered/Sponge#312 by only casting to `Entity`, not `Player`","created_at":"2015-07-26T19:18:04Z","updated_at":"2015-07-27T15:26:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72c884f065623ea2595fd3f528c3dbc728a2ca2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/109/commits","review_comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/109/comments","review_comment_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/109/comments","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/bb54513080e6ea9cab118d933cecc2067aa293be","head":{"label":"JBYoshi:fix/client-events","ref":"fix/client-events","sha":"bb54513080e6ea9cab118d933cecc2067aa293be","user":{"login":"JBYoshi","id":12983479,"avatar_url":"https://avatars.githubusercontent.com/u/12983479?v=3","gravatar_id":"","url":"https://api.github.com/users/JBYoshi","html_url":"https://github.com/JBYoshi","followers_url":"https://api.github.com/users/JBYoshi/followers","following_url":"https://api.github.com/users/JBYoshi/following{/other_user}","gists_url":"https://api.github.com/users/JBYoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/JBYoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBYoshi/subscriptions","organizations_url":"https://api.github.com/users/JBYoshi/orgs","repos_url":"https://api.github.com/users/JBYoshi/repos","events_url":"https://api.github.com/users/JBYoshi/events{/privacy}","received_events_url":"https://api.github.com/users/JBYoshi/received_events","type":"User","site_admin":false},"repo":{"id":37821950,"name":"SpongeCommon","full_name":"JBYoshi/SpongeCommon","owner":{"login":"JBYoshi","id":12983479,"avatar_url":"https://avatars.githubusercontent.com/u/12983479?v=3","gravatar_id":"","url":"https://api.github.com/users/JBYoshi","html_url":"https://github.com/JBYoshi","followers_url":"https://api.github.com/users/JBYoshi/followers","following_url":"https://api.github.com/users/JBYoshi/following{/other_user}","gists_url":"https://api.github.com/users/JBYoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/JBYoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBYoshi/subscriptions","organizations_url":"https://api.github.com/users/JBYoshi/orgs","repos_url":"https://api.github.com/users/JBYoshi/repos","events_url":"https://api.github.com/users/JBYoshi/events{/privacy}","received_events_url":"https://api.github.com/users/JBYoshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JBYoshi/SpongeCommon","description":"Shared code between Sponge and SpongeVanilla","fork":true,"url":"https://api.github.com/repos/JBYoshi/SpongeCommon","forks_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/forks","keys_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/teams","hooks_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/hooks","issue_events_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/issues/events{/number}","events_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/events","assignees_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/assignees{/user}","branches_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/branches{/branch}","tags_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/tags","blobs_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/git/refs{/sha}","trees_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/statuses/{sha}","languages_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/languages","stargazers_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/stargazers","contributors_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/contributors","subscribers_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/subscribers","subscription_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/subscription","commits_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/commits{/sha}","git_commits_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/git/commits{/sha}","comments_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/comments{/number}","issue_comment_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/issues/comments{/number}","contents_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/contents/{+path}","compare_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/merges","archive_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/downloads","issues_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/issues{/number}","pulls_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/pulls{/number}","milestones_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/milestones{/number}","notifications_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/labels{/name}","releases_url":"https://api.github.com/repos/JBYoshi/SpongeCommon/releases{/id}","created_at":"2015-06-21T19:08:45Z","updated_at":"2015-06-21T19:08:47Z","pushed_at":"2015-07-27T14:13:42Z","git_url":"git://github.com/JBYoshi/SpongeCommon.git","ssh_url":"git@github.com:JBYoshi/SpongeCommon.git","clone_url":"https://github.com/JBYoshi/SpongeCommon.git","svn_url":"https://github.com/JBYoshi/SpongeCommon","homepage":null,"size":1743,"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":"SpongePowered:master","ref":"master","sha":"624a68481e29bf6d74984de164ef8b38263974ec","user":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"repo":{"id":33791453,"name":"SpongeCommon","full_name":"SpongePowered/SpongeCommon","owner":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpongePowered/SpongeCommon","description":"Shared code between Sponge and SpongeVanilla","fork":false,"url":"https://api.github.com/repos/SpongePowered/SpongeCommon","forks_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/forks","keys_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/teams","hooks_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/hooks","issue_events_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/events{/number}","events_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/events","assignees_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/assignees{/user}","branches_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/branches{/branch}","tags_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/tags","blobs_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/{sha}","languages_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/languages","stargazers_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/stargazers","contributors_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/contributors","subscribers_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/subscribers","subscription_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/subscription","commits_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/contents/{+path}","compare_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/merges","archive_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/downloads","issues_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues{/number}","pulls_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls{/number}","milestones_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/milestones{/number}","notifications_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/labels{/name}","releases_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/releases{/id}","created_at":"2015-04-11T20:38:48Z","updated_at":"2015-07-22T12:25:02Z","pushed_at":"2015-07-27T14:14:48Z","git_url":"git://github.com/SpongePowered/SpongeCommon.git","ssh_url":"git@github.com:SpongePowered/SpongeCommon.git","clone_url":"https://github.com/SpongePowered/SpongeCommon.git","svn_url":"https://github.com/SpongePowered/SpongeCommon","homepage":null,"size":4138,"stargazers_count":35,"watchers_count":35,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":38,"forks":30,"open_issues":38,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/109"},"html":{"href":"https://github.com/SpongePowered/SpongeCommon/pull/109"},"issue":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/109"},"comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/bb54513080e6ea9cab118d933cecc2067aa293be"}}}}