{"action":"created","comment":{"url":"https://api.github.com/repos/GoMint/GoMint/pulls/comments/157681118","pull_request_review_id":84362171,"id":157681118,"diff_hunk":"@@ -0,0 +1,69 @@\n+package io.gomint.server.command.internal;\n+\n+import io.gomint.ChatColor;\n+import io.gomint.GoMint;\n+import io.gomint.command.Command;\n+import io.gomint.command.CommandOutput;\n+import io.gomint.command.annotation.*;\n+import io.gomint.command.validator.IntegerValidator;\n+import io.gomint.command.validator.StringValidator;\n+import io.gomint.command.validator.TargetValidator;\n+import io.gomint.entity.EntityPlayer;\n+import io.gomint.world.Gamemode;\n+\n+import java.util.Map;\n+\n+/**\n+ * @author NycuRO\n+ * @version 1.0\n+ */\n+@Name( \"gamemode\" )\n+@Description( \"Sets a player's game mode\" )\n+@Permission( \"gomint.command.gamemode\" )\n+@Overload( {\n+    @Parameter( name = \"gameMode\", validator = IntegerValidator.class),\n+    @Parameter( name = \"gameMode\", validator = StringValidator.class, arguments = { \"[a-zA-Z0-9ß\\\\-]+\" })\n+} )\n+@Overload( {","path":"gomint-server/src/main/java/io/gomint/server/command/internal/GamemodeCommand.java","position":27,"original_position":27,"commit_id":"fe7593b234bb9af6de3c1dc95e5167e834fde1e4","original_commit_id":"fe7593b234bb9af6de3c1dc95e5167e834fde1e4","user":{"login":"Janmm14","id":3533175,"avatar_url":"https://avatars0.githubusercontent.com/u/3533175?v=4","gravatar_id":"","url":"https://api.github.com/users/Janmm14","html_url":"https://github.com/Janmm14","followers_url":"https://api.github.com/users/Janmm14/followers","following_url":"https://api.github.com/users/Janmm14/following{/other_user}","gists_url":"https://api.github.com/users/Janmm14/gists{/gist_id}","starred_url":"https://api.github.com/users/Janmm14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Janmm14/subscriptions","organizations_url":"https://api.github.com/users/Janmm14/orgs","repos_url":"https://api.github.com/users/Janmm14/repos","events_url":"https://api.github.com/users/Janmm14/events{/privacy}","received_events_url":"https://api.github.com/users/Janmm14/received_events","type":"User","site_admin":false},"body":"This overload just needs one target parameter, also wrong.\r\nAn overload is not equal to an argument.","created_at":"2017-12-19T07:39:05Z","updated_at":"2017-12-19T07:48:02Z","html_url":"https://github.com/GoMint/GoMint/pull/64#discussion_r157681118","pull_request_url":"https://api.github.com/repos/GoMint/GoMint/pulls/64","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/GoMint/GoMint/pulls/comments/157681118"},"html":{"href":"https://github.com/GoMint/GoMint/pull/64#discussion_r157681118"},"pull_request":{"href":"https://api.github.com/repos/GoMint/GoMint/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/GoMint/GoMint/pulls/64","id":159020005,"html_url":"https://github.com/GoMint/GoMint/pull/64","diff_url":"https://github.com/GoMint/GoMint/pull/64.diff","patch_url":"https://github.com/GoMint/GoMint/pull/64.patch","issue_url":"https://api.github.com/repos/GoMint/GoMint/issues/64","number":64,"state":"open","locked":false,"title":"Gamemode Vanilla Command","user":{"login":"NycuRO","id":13573011,"avatar_url":"https://avatars1.githubusercontent.com/u/13573011?v=4","gravatar_id":"","url":"https://api.github.com/users/NycuRO","html_url":"https://github.com/NycuRO","followers_url":"https://api.github.com/users/NycuRO/followers","following_url":"https://api.github.com/users/NycuRO/following{/other_user}","gists_url":"https://api.github.com/users/NycuRO/gists{/gist_id}","starred_url":"https://api.github.com/users/NycuRO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NycuRO/subscriptions","organizations_url":"https://api.github.com/users/NycuRO/orgs","repos_url":"https://api.github.com/users/NycuRO/repos","events_url":"https://api.github.com/users/NycuRO/events{/privacy}","received_events_url":"https://api.github.com/users/NycuRO/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-18T21:18:20Z","updated_at":"2017-12-19T07:48:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd99c5fceba7be97268a7f9a93327e05783e9e74","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoMint/GoMint/pulls/64/commits","review_comments_url":"https://api.github.com/repos/GoMint/GoMint/pulls/64/comments","review_comment_url":"https://api.github.com/repos/GoMint/GoMint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoMint/GoMint/issues/64/comments","statuses_url":"https://api.github.com/repos/GoMint/GoMint/statuses/fe7593b234bb9af6de3c1dc95e5167e834fde1e4","head":{"label":"NycuRO:genazt","ref":"genazt","sha":"fe7593b234bb9af6de3c1dc95e5167e834fde1e4","user":{"login":"NycuRO","id":13573011,"avatar_url":"https://avatars1.githubusercontent.com/u/13573011?v=4","gravatar_id":"","url":"https://api.github.com/users/NycuRO","html_url":"https://github.com/NycuRO","followers_url":"https://api.github.com/users/NycuRO/followers","following_url":"https://api.github.com/users/NycuRO/following{/other_user}","gists_url":"https://api.github.com/users/NycuRO/gists{/gist_id}","starred_url":"https://api.github.com/users/NycuRO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NycuRO/subscriptions","organizations_url":"https://api.github.com/users/NycuRO/orgs","repos_url":"https://api.github.com/users/NycuRO/repos","events_url":"https://api.github.com/users/NycuRO/events{/privacy}","received_events_url":"https://api.github.com/users/NycuRO/received_events","type":"User","site_admin":false},"repo":{"id":114684847,"name":"GoMint","full_name":"NycuRO/GoMint","owner":{"login":"NycuRO","id":13573011,"avatar_url":"https://avatars1.githubusercontent.com/u/13573011?v=4","gravatar_id":"","url":"https://api.github.com/users/NycuRO","html_url":"https://github.com/NycuRO","followers_url":"https://api.github.com/users/NycuRO/followers","following_url":"https://api.github.com/users/NycuRO/following{/other_user}","gists_url":"https://api.github.com/users/NycuRO/gists{/gist_id}","starred_url":"https://api.github.com/users/NycuRO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NycuRO/subscriptions","organizations_url":"https://api.github.com/users/NycuRO/orgs","repos_url":"https://api.github.com/users/NycuRO/repos","events_url":"https://api.github.com/users/NycuRO/events{/privacy}","received_events_url":"https://api.github.com/users/NycuRO/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NycuRO/GoMint","description":null,"fork":true,"url":"https://api.github.com/repos/NycuRO/GoMint","forks_url":"https://api.github.com/repos/NycuRO/GoMint/forks","keys_url":"https://api.github.com/repos/NycuRO/GoMint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NycuRO/GoMint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NycuRO/GoMint/teams","hooks_url":"https://api.github.com/repos/NycuRO/GoMint/hooks","issue_events_url":"https://api.github.com/repos/NycuRO/GoMint/issues/events{/number}","events_url":"https://api.github.com/repos/NycuRO/GoMint/events","assignees_url":"https://api.github.com/repos/NycuRO/GoMint/assignees{/user}","branches_url":"https://api.github.com/repos/NycuRO/GoMint/branches{/branch}","tags_url":"https://api.github.com/repos/NycuRO/GoMint/tags","blobs_url":"https://api.github.com/repos/NycuRO/GoMint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NycuRO/GoMint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NycuRO/GoMint/git/refs{/sha}","trees_url":"https://api.github.com/repos/NycuRO/GoMint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NycuRO/GoMint/statuses/{sha}","languages_url":"https://api.github.com/repos/NycuRO/GoMint/languages","stargazers_url":"https://api.github.com/repos/NycuRO/GoMint/stargazers","contributors_url":"https://api.github.com/repos/NycuRO/GoMint/contributors","subscribers_url":"https://api.github.com/repos/NycuRO/GoMint/subscribers","subscription_url":"https://api.github.com/repos/NycuRO/GoMint/subscription","commits_url":"https://api.github.com/repos/NycuRO/GoMint/commits{/sha}","git_commits_url":"https://api.github.com/repos/NycuRO/GoMint/git/commits{/sha}","comments_url":"https://api.github.com/repos/NycuRO/GoMint/comments{/number}","issue_comment_url":"https://api.github.com/repos/NycuRO/GoMint/issues/comments{/number}","contents_url":"https://api.github.com/repos/NycuRO/GoMint/contents/{+path}","compare_url":"https://api.github.com/repos/NycuRO/GoMint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NycuRO/GoMint/merges","archive_url":"https://api.github.com/repos/NycuRO/GoMint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NycuRO/GoMint/downloads","issues_url":"https://api.github.com/repos/NycuRO/GoMint/issues{/number}","pulls_url":"https://api.github.com/repos/NycuRO/GoMint/pulls{/number}","milestones_url":"https://api.github.com/repos/NycuRO/GoMint/milestones{/number}","notifications_url":"https://api.github.com/repos/NycuRO/GoMint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NycuRO/GoMint/labels{/name}","releases_url":"https://api.github.com/repos/NycuRO/GoMint/releases{/id}","deployments_url":"https://api.github.com/repos/NycuRO/GoMint/deployments","created_at":"2017-12-18T20:30:57Z","updated_at":"2017-12-18T20:31:01Z","pushed_at":"2017-12-18T21:44:03Z","git_url":"git://github.com/NycuRO/GoMint.git","ssh_url":"git@github.com:NycuRO/GoMint.git","clone_url":"https://github.com/NycuRO/GoMint.git","svn_url":"https://github.com/NycuRO/GoMint","homepage":null,"size":2313,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoMint:genazt","ref":"genazt","sha":"380b26644a13f7925b95ccf185834058030d5c65","user":{"login":"GoMint","id":13591635,"avatar_url":"https://avatars3.githubusercontent.com/u/13591635?v=4","gravatar_id":"","url":"https://api.github.com/users/GoMint","html_url":"https://github.com/GoMint","followers_url":"https://api.github.com/users/GoMint/followers","following_url":"https://api.github.com/users/GoMint/following{/other_user}","gists_url":"https://api.github.com/users/GoMint/gists{/gist_id}","starred_url":"https://api.github.com/users/GoMint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoMint/subscriptions","organizations_url":"https://api.github.com/users/GoMint/orgs","repos_url":"https://api.github.com/users/GoMint/repos","events_url":"https://api.github.com/users/GoMint/events{/privacy}","received_events_url":"https://api.github.com/users/GoMint/received_events","type":"Organization","site_admin":false},"repo":{"id":53688655,"name":"GoMint","full_name":"GoMint/GoMint","owner":{"login":"GoMint","id":13591635,"avatar_url":"https://avatars3.githubusercontent.com/u/13591635?v=4","gravatar_id":"","url":"https://api.github.com/users/GoMint","html_url":"https://github.com/GoMint","followers_url":"https://api.github.com/users/GoMint/followers","following_url":"https://api.github.com/users/GoMint/following{/other_user}","gists_url":"https://api.github.com/users/GoMint/gists{/gist_id}","starred_url":"https://api.github.com/users/GoMint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoMint/subscriptions","organizations_url":"https://api.github.com/users/GoMint/orgs","repos_url":"https://api.github.com/users/GoMint/repos","events_url":"https://api.github.com/users/GoMint/events{/privacy}","received_events_url":"https://api.github.com/users/GoMint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoMint/GoMint","description":null,"fork":false,"url":"https://api.github.com/repos/GoMint/GoMint","forks_url":"https://api.github.com/repos/GoMint/GoMint/forks","keys_url":"https://api.github.com/repos/GoMint/GoMint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoMint/GoMint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoMint/GoMint/teams","hooks_url":"https://api.github.com/repos/GoMint/GoMint/hooks","issue_events_url":"https://api.github.com/repos/GoMint/GoMint/issues/events{/number}","events_url":"https://api.github.com/repos/GoMint/GoMint/events","assignees_url":"https://api.github.com/repos/GoMint/GoMint/assignees{/user}","branches_url":"https://api.github.com/repos/GoMint/GoMint/branches{/branch}","tags_url":"https://api.github.com/repos/GoMint/GoMint/tags","blobs_url":"https://api.github.com/repos/GoMint/GoMint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoMint/GoMint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoMint/GoMint/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoMint/GoMint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoMint/GoMint/statuses/{sha}","languages_url":"https://api.github.com/repos/GoMint/GoMint/languages","stargazers_url":"https://api.github.com/repos/GoMint/GoMint/stargazers","contributors_url":"https://api.github.com/repos/GoMint/GoMint/contributors","subscribers_url":"https://api.github.com/repos/GoMint/GoMint/subscribers","subscription_url":"https://api.github.com/repos/GoMint/GoMint/subscription","commits_url":"https://api.github.com/repos/GoMint/GoMint/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoMint/GoMint/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoMint/GoMint/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoMint/GoMint/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoMint/GoMint/contents/{+path}","compare_url":"https://api.github.com/repos/GoMint/GoMint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoMint/GoMint/merges","archive_url":"https://api.github.com/repos/GoMint/GoMint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoMint/GoMint/downloads","issues_url":"https://api.github.com/repos/GoMint/GoMint/issues{/number}","pulls_url":"https://api.github.com/repos/GoMint/GoMint/pulls{/number}","milestones_url":"https://api.github.com/repos/GoMint/GoMint/milestones{/number}","notifications_url":"https://api.github.com/repos/GoMint/GoMint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoMint/GoMint/labels{/name}","releases_url":"https://api.github.com/repos/GoMint/GoMint/releases{/id}","deployments_url":"https://api.github.com/repos/GoMint/GoMint/deployments","created_at":"2016-03-11T18:36:25Z","updated_at":"2017-12-19T07:15:52Z","pushed_at":"2017-12-18T21:44:05Z","git_url":"git://github.com/GoMint/GoMint.git","ssh_url":"git@github.com:GoMint/GoMint.git","clone_url":"https://github.com/GoMint/GoMint.git","svn_url":"https://github.com/GoMint/GoMint","homepage":null,"size":2308,"stargazers_count":31,"watchers_count":31,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"bsd-3-clause","name":"BSD 3-clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":9,"open_issues":6,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoMint/GoMint/pulls/64"},"html":{"href":"https://github.com/GoMint/GoMint/pull/64"},"issue":{"href":"https://api.github.com/repos/GoMint/GoMint/issues/64"},"comments":{"href":"https://api.github.com/repos/GoMint/GoMint/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/GoMint/GoMint/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/GoMint/GoMint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoMint/GoMint/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/GoMint/GoMint/statuses/fe7593b234bb9af6de3c1dc95e5167e834fde1e4"}},"author_association":"NONE"}}
{"actor":{"display_login":"Janmm14"}}