{"action":"created","comment":{"url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/comments/71641377","id":71641377,"diff_hunk":"@@ -50,3 +50,21 @@\n          if(var1 == EntityEquipmentSlot.MAINHAND) {\n              this.playEquipSound(var2);\n              this.inventory.mainInventory[this.inventory.currentItem] = var2;\n+@@ -1867,6 +1876,17 @@\n+         return this.capabilities.isCreativeMode && this.canCommandSenderUseCommand(2, \"\");\n+     }\n+ \n++//  OML\n++    /**\n++     * Opens a GUI for this player from the given owner, GUI ID, and context\n++     * @param owner The owner of the GUI handler\n++     * @param guiID The ID of the GUI\n++     * @param context The context with which to open the GUI\n++     */\n++    public void openGUI(String owner, String guiID, xyz.openmodloader.gui.GUIContext context) {","path":"patches/net/minecraft/entity/player/EntityPlayer.java.patch","position":15,"original_position":15,"commit_id":"42983ac83e5fedb3d701969e71a3cc45c473082a","original_commit_id":"42983ac83e5fedb3d701969e71a3cc45c473082a","user":{"login":"Strikingwolf","id":5892049,"avatar_url":"https://avatars.githubusercontent.com/u/5892049?v=3","gravatar_id":"","url":"https://api.github.com/users/Strikingwolf","html_url":"https://github.com/Strikingwolf","followers_url":"https://api.github.com/users/Strikingwolf/followers","following_url":"https://api.github.com/users/Strikingwolf/following{/other_user}","gists_url":"https://api.github.com/users/Strikingwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/Strikingwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strikingwolf/subscriptions","organizations_url":"https://api.github.com/users/Strikingwolf/orgs","repos_url":"https://api.github.com/users/Strikingwolf/repos","events_url":"https://api.github.com/users/Strikingwolf/events{/privacy}","received_events_url":"https://api.github.com/users/Strikingwolf/received_events","type":"User","site_admin":false},"body":"You actually have the player everywhere you can call this, due to it being a method in the the Player Class currently, I agree on having it in an external method","created_at":"2016-07-21T03:13:29Z","updated_at":"2016-07-21T03:13:29Z","html_url":"https://github.com/OpenModLoader/OpenModLoader/pull/69#discussion_r71641377","pull_request_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/comments/71641377"},"html":{"href":"https://github.com/OpenModLoader/OpenModLoader/pull/69#discussion_r71641377"},"pull_request":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/69","id":75870251,"html_url":"https://github.com/OpenModLoader/OpenModLoader/pull/69","diff_url":"https://github.com/OpenModLoader/OpenModLoader/pull/69.diff","patch_url":"https://github.com/OpenModLoader/OpenModLoader/pull/69.patch","issue_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues/69","number":69,"state":"open","locked":false,"title":"GUI handler system","user":{"login":"shadowfacts","id":7091588,"avatar_url":"https://avatars.githubusercontent.com/u/7091588?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowfacts","html_url":"https://github.com/shadowfacts","followers_url":"https://api.github.com/users/shadowfacts/followers","following_url":"https://api.github.com/users/shadowfacts/following{/other_user}","gists_url":"https://api.github.com/users/shadowfacts/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowfacts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowfacts/subscriptions","organizations_url":"https://api.github.com/users/shadowfacts/orgs","repos_url":"https://api.github.com/users/shadowfacts/repos","events_url":"https://api.github.com/users/shadowfacts/events{/privacy}","received_events_url":"https://api.github.com/users/shadowfacts/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-30T18:45:15Z","updated_at":"2016-07-21T03:13:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cc9ffb4b98131ccc0d10e488e299379609069ce","assignee":{"login":"shadowfacts","id":7091588,"avatar_url":"https://avatars.githubusercontent.com/u/7091588?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowfacts","html_url":"https://github.com/shadowfacts","followers_url":"https://api.github.com/users/shadowfacts/followers","following_url":"https://api.github.com/users/shadowfacts/following{/other_user}","gists_url":"https://api.github.com/users/shadowfacts/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowfacts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowfacts/subscriptions","organizations_url":"https://api.github.com/users/shadowfacts/orgs","repos_url":"https://api.github.com/users/shadowfacts/repos","events_url":"https://api.github.com/users/shadowfacts/events{/privacy}","received_events_url":"https://api.github.com/users/shadowfacts/received_events","type":"User","site_admin":false},"assignees":[{"login":"shadowfacts","id":7091588,"avatar_url":"https://avatars.githubusercontent.com/u/7091588?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowfacts","html_url":"https://github.com/shadowfacts","followers_url":"https://api.github.com/users/shadowfacts/followers","following_url":"https://api.github.com/users/shadowfacts/following{/other_user}","gists_url":"https://api.github.com/users/shadowfacts/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowfacts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowfacts/subscriptions","organizations_url":"https://api.github.com/users/shadowfacts/orgs","repos_url":"https://api.github.com/users/shadowfacts/repos","events_url":"https://api.github.com/users/shadowfacts/events{/privacy}","received_events_url":"https://api.github.com/users/shadowfacts/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/69/commits","review_comments_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/69/comments","review_comment_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues/69/comments","statuses_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/statuses/42983ac83e5fedb3d701969e71a3cc45c473082a","head":{"label":"OpenModLoader:gui-handler","ref":"gui-handler","sha":"42983ac83e5fedb3d701969e71a3cc45c473082a","user":{"login":"OpenModLoader","id":20051910,"avatar_url":"https://avatars.githubusercontent.com/u/20051910?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenModLoader","html_url":"https://github.com/OpenModLoader","followers_url":"https://api.github.com/users/OpenModLoader/followers","following_url":"https://api.github.com/users/OpenModLoader/following{/other_user}","gists_url":"https://api.github.com/users/OpenModLoader/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenModLoader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenModLoader/subscriptions","organizations_url":"https://api.github.com/users/OpenModLoader/orgs","repos_url":"https://api.github.com/users/OpenModLoader/repos","events_url":"https://api.github.com/users/OpenModLoader/events{/privacy}","received_events_url":"https://api.github.com/users/OpenModLoader/received_events","type":"Organization","site_admin":false},"repo":{"id":61618132,"name":"OpenModLoader","full_name":"OpenModLoader/OpenModLoader","owner":{"login":"OpenModLoader","id":20051910,"avatar_url":"https://avatars.githubusercontent.com/u/20051910?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenModLoader","html_url":"https://github.com/OpenModLoader","followers_url":"https://api.github.com/users/OpenModLoader/followers","following_url":"https://api.github.com/users/OpenModLoader/following{/other_user}","gists_url":"https://api.github.com/users/OpenModLoader/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenModLoader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenModLoader/subscriptions","organizations_url":"https://api.github.com/users/OpenModLoader/orgs","repos_url":"https://api.github.com/users/OpenModLoader/repos","events_url":"https://api.github.com/users/OpenModLoader/events{/privacy}","received_events_url":"https://api.github.com/users/OpenModLoader/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenModLoader/OpenModLoader","description":"A next gen minecraft mod loader for minecraft 1.10 and above","fork":false,"url":"https://api.github.com/repos/OpenModLoader/OpenModLoader","forks_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/forks","keys_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/teams","hooks_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/hooks","issue_events_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues/events{/number}","events_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/events","assignees_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/assignees{/user}","branches_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/branches{/branch}","tags_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/tags","blobs_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/languages","stargazers_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/stargazers","contributors_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/contributors","subscribers_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/subscribers","subscription_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/subscription","commits_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/contents/{+path}","compare_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/merges","archive_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/downloads","issues_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues{/number}","pulls_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/labels{/name}","releases_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/releases{/id}","deployments_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/deployments","created_at":"2016-06-21T08:53:39Z","updated_at":"2016-07-20T21:55:51Z","pushed_at":"2016-07-21T01:01:44Z","git_url":"git://github.com/OpenModLoader/OpenModLoader.git","ssh_url":"git@github.com:OpenModLoader/OpenModLoader.git","clone_url":"https://github.com/OpenModLoader/OpenModLoader.git","svn_url":"https://github.com/OpenModLoader/OpenModLoader","homepage":"http://openmodloader.xyz/","size":3352,"stargazers_count":50,"watchers_count":50,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":12,"forks":17,"open_issues":12,"watchers":50,"default_branch":"master"}},"base":{"label":"OpenModLoader:master","ref":"master","sha":"076ab8afdec46af4963a81f3d06317c302bdde56","user":{"login":"OpenModLoader","id":20051910,"avatar_url":"https://avatars.githubusercontent.com/u/20051910?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenModLoader","html_url":"https://github.com/OpenModLoader","followers_url":"https://api.github.com/users/OpenModLoader/followers","following_url":"https://api.github.com/users/OpenModLoader/following{/other_user}","gists_url":"https://api.github.com/users/OpenModLoader/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenModLoader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenModLoader/subscriptions","organizations_url":"https://api.github.com/users/OpenModLoader/orgs","repos_url":"https://api.github.com/users/OpenModLoader/repos","events_url":"https://api.github.com/users/OpenModLoader/events{/privacy}","received_events_url":"https://api.github.com/users/OpenModLoader/received_events","type":"Organization","site_admin":false},"repo":{"id":61618132,"name":"OpenModLoader","full_name":"OpenModLoader/OpenModLoader","owner":{"login":"OpenModLoader","id":20051910,"avatar_url":"https://avatars.githubusercontent.com/u/20051910?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenModLoader","html_url":"https://github.com/OpenModLoader","followers_url":"https://api.github.com/users/OpenModLoader/followers","following_url":"https://api.github.com/users/OpenModLoader/following{/other_user}","gists_url":"https://api.github.com/users/OpenModLoader/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenModLoader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenModLoader/subscriptions","organizations_url":"https://api.github.com/users/OpenModLoader/orgs","repos_url":"https://api.github.com/users/OpenModLoader/repos","events_url":"https://api.github.com/users/OpenModLoader/events{/privacy}","received_events_url":"https://api.github.com/users/OpenModLoader/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenModLoader/OpenModLoader","description":"A next gen minecraft mod loader for minecraft 1.10 and above","fork":false,"url":"https://api.github.com/repos/OpenModLoader/OpenModLoader","forks_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/forks","keys_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/teams","hooks_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/hooks","issue_events_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues/events{/number}","events_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/events","assignees_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/assignees{/user}","branches_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/branches{/branch}","tags_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/tags","blobs_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/languages","stargazers_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/stargazers","contributors_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/contributors","subscribers_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/subscribers","subscription_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/subscription","commits_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/contents/{+path}","compare_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/merges","archive_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/downloads","issues_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues{/number}","pulls_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/labels{/name}","releases_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/releases{/id}","deployments_url":"https://api.github.com/repos/OpenModLoader/OpenModLoader/deployments","created_at":"2016-06-21T08:53:39Z","updated_at":"2016-07-20T21:55:51Z","pushed_at":"2016-07-21T01:01:44Z","git_url":"git://github.com/OpenModLoader/OpenModLoader.git","ssh_url":"git@github.com:OpenModLoader/OpenModLoader.git","clone_url":"https://github.com/OpenModLoader/OpenModLoader.git","svn_url":"https://github.com/OpenModLoader/OpenModLoader","homepage":"http://openmodloader.xyz/","size":3352,"stargazers_count":50,"watchers_count":50,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":12,"forks":17,"open_issues":12,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/69"},"html":{"href":"https://github.com/OpenModLoader/OpenModLoader/pull/69"},"issue":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues/69"},"comments":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/OpenModLoader/OpenModLoader/statuses/42983ac83e5fedb3d701969e71a3cc45c473082a"}}}}
{"actor":{"display_login":"Strikingwolf"}}