{"action":"opened","number":15060,"pull_request":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15060","id":39768211,"html_url":"https://github.com/TrinityCore/TrinityCore/pull/15060","diff_url":"https://github.com/TrinityCore/TrinityCore/pull/15060.diff","patch_url":"https://github.com/TrinityCore/TrinityCore/pull/15060.patch","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15060","number":15060,"state":"open","locked":false,"title":"Command Learn Spells working for all players","user":{"login":"duhow","id":1145001,"avatar_url":"https://avatars.githubusercontent.com/u/1145001?v=3","gravatar_id":"","url":"https://api.github.com/users/duhow","html_url":"https://github.com/duhow","followers_url":"https://api.github.com/users/duhow/followers","following_url":"https://api.github.com/users/duhow/following{/other_user}","gists_url":"https://api.github.com/users/duhow/gists{/gist_id}","starred_url":"https://api.github.com/users/duhow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duhow/subscriptions","organizations_url":"https://api.github.com/users/duhow/orgs","repos_url":"https://api.github.com/users/duhow/repos","events_url":"https://api.github.com/users/duhow/events{/privacy}","received_events_url":"https://api.github.com/users/duhow/received_events","type":"User","site_admin":false},"body":"In order to correct **.learn** functions, rename all target variables to player, and use **getSelectedPlayerOrSelf()**.\r\n\r\nAs this will select always a player, the player checking can also be removed if it is not really useful.\r\nConsider also merging **.learn all my** with **.learn all**\r\n\r\nThis is because I want to learn all spells for another player (GM -> player).","created_at":"2015-07-12T20:36:38Z","updated_at":"2015-07-12T20:36:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15060/commits","review_comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15060/comments","review_comment_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15060/comments","statuses_url":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/99ed24b825791ee655fe4aea70dc1542bf843cdc","head":{"label":"duhow:patch-1","ref":"patch-1","sha":"99ed24b825791ee655fe4aea70dc1542bf843cdc","user":{"login":"duhow","id":1145001,"avatar_url":"https://avatars.githubusercontent.com/u/1145001?v=3","gravatar_id":"","url":"https://api.github.com/users/duhow","html_url":"https://github.com/duhow","followers_url":"https://api.github.com/users/duhow/followers","following_url":"https://api.github.com/users/duhow/following{/other_user}","gists_url":"https://api.github.com/users/duhow/gists{/gist_id}","starred_url":"https://api.github.com/users/duhow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duhow/subscriptions","organizations_url":"https://api.github.com/users/duhow/orgs","repos_url":"https://api.github.com/users/duhow/repos","events_url":"https://api.github.com/users/duhow/events{/privacy}","received_events_url":"https://api.github.com/users/duhow/received_events","type":"User","site_admin":false},"repo":{"id":38976134,"name":"TrinityCore","full_name":"duhow/TrinityCore","owner":{"login":"duhow","id":1145001,"avatar_url":"https://avatars.githubusercontent.com/u/1145001?v=3","gravatar_id":"","url":"https://api.github.com/users/duhow","html_url":"https://github.com/duhow","followers_url":"https://api.github.com/users/duhow/followers","following_url":"https://api.github.com/users/duhow/following{/other_user}","gists_url":"https://api.github.com/users/duhow/gists{/gist_id}","starred_url":"https://api.github.com/users/duhow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duhow/subscriptions","organizations_url":"https://api.github.com/users/duhow/orgs","repos_url":"https://api.github.com/users/duhow/repos","events_url":"https://api.github.com/users/duhow/events{/privacy}","received_events_url":"https://api.github.com/users/duhow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/duhow/TrinityCore","description":"TrinityCore Open Source MMO Framework","fork":true,"url":"https://api.github.com/repos/duhow/TrinityCore","forks_url":"https://api.github.com/repos/duhow/TrinityCore/forks","keys_url":"https://api.github.com/repos/duhow/TrinityCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duhow/TrinityCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duhow/TrinityCore/teams","hooks_url":"https://api.github.com/repos/duhow/TrinityCore/hooks","issue_events_url":"https://api.github.com/repos/duhow/TrinityCore/issues/events{/number}","events_url":"https://api.github.com/repos/duhow/TrinityCore/events","assignees_url":"https://api.github.com/repos/duhow/TrinityCore/assignees{/user}","branches_url":"https://api.github.com/repos/duhow/TrinityCore/branches{/branch}","tags_url":"https://api.github.com/repos/duhow/TrinityCore/tags","blobs_url":"https://api.github.com/repos/duhow/TrinityCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duhow/TrinityCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duhow/TrinityCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/duhow/TrinityCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duhow/TrinityCore/statuses/{sha}","languages_url":"https://api.github.com/repos/duhow/TrinityCore/languages","stargazers_url":"https://api.github.com/repos/duhow/TrinityCore/stargazers","contributors_url":"https://api.github.com/repos/duhow/TrinityCore/contributors","subscribers_url":"https://api.github.com/repos/duhow/TrinityCore/subscribers","subscription_url":"https://api.github.com/repos/duhow/TrinityCore/subscription","commits_url":"https://api.github.com/repos/duhow/TrinityCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/duhow/TrinityCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/duhow/TrinityCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/duhow/TrinityCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/duhow/TrinityCore/contents/{+path}","compare_url":"https://api.github.com/repos/duhow/TrinityCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duhow/TrinityCore/merges","archive_url":"https://api.github.com/repos/duhow/TrinityCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duhow/TrinityCore/downloads","issues_url":"https://api.github.com/repos/duhow/TrinityCore/issues{/number}","pulls_url":"https://api.github.com/repos/duhow/TrinityCore/pulls{/number}","milestones_url":"https://api.github.com/repos/duhow/TrinityCore/milestones{/number}","notifications_url":"https://api.github.com/repos/duhow/TrinityCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duhow/TrinityCore/labels{/name}","releases_url":"https://api.github.com/repos/duhow/TrinityCore/releases{/id}","created_at":"2015-07-12T20:06:03Z","updated_at":"2015-07-12T20:06:18Z","pushed_at":"2015-07-12T20:34:41Z","git_url":"git://github.com/duhow/TrinityCore.git","ssh_url":"git@github.com:duhow/TrinityCore.git","clone_url":"https://github.com/duhow/TrinityCore.git","svn_url":"https://github.com/duhow/TrinityCore","homepage":"http://www.trinitycore.org","size":861186,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"6.x"}},"base":{"label":"TrinityCore:3.3.5","ref":"3.3.5","sha":"af8e9738036e2947e31b1f11bc01f7565f988376","user":{"login":"TrinityCore","id":539602,"avatar_url":"https://avatars.githubusercontent.com/u/539602?v=3","gravatar_id":"","url":"https://api.github.com/users/TrinityCore","html_url":"https://github.com/TrinityCore","followers_url":"https://api.github.com/users/TrinityCore/followers","following_url":"https://api.github.com/users/TrinityCore/following{/other_user}","gists_url":"https://api.github.com/users/TrinityCore/gists{/gist_id}","starred_url":"https://api.github.com/users/TrinityCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrinityCore/subscriptions","organizations_url":"https://api.github.com/users/TrinityCore/orgs","repos_url":"https://api.github.com/users/TrinityCore/repos","events_url":"https://api.github.com/users/TrinityCore/events{/privacy}","received_events_url":"https://api.github.com/users/TrinityCore/received_events","type":"Organization","site_admin":false},"repo":{"id":1204412,"name":"TrinityCore","full_name":"TrinityCore/TrinityCore","owner":{"login":"TrinityCore","id":539602,"avatar_url":"https://avatars.githubusercontent.com/u/539602?v=3","gravatar_id":"","url":"https://api.github.com/users/TrinityCore","html_url":"https://github.com/TrinityCore","followers_url":"https://api.github.com/users/TrinityCore/followers","following_url":"https://api.github.com/users/TrinityCore/following{/other_user}","gists_url":"https://api.github.com/users/TrinityCore/gists{/gist_id}","starred_url":"https://api.github.com/users/TrinityCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrinityCore/subscriptions","organizations_url":"https://api.github.com/users/TrinityCore/orgs","repos_url":"https://api.github.com/users/TrinityCore/repos","events_url":"https://api.github.com/users/TrinityCore/events{/privacy}","received_events_url":"https://api.github.com/users/TrinityCore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TrinityCore/TrinityCore","description":"TrinityCore Open Source MMO Framework","fork":false,"url":"https://api.github.com/repos/TrinityCore/TrinityCore","forks_url":"https://api.github.com/repos/TrinityCore/TrinityCore/forks","keys_url":"https://api.github.com/repos/TrinityCore/TrinityCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TrinityCore/TrinityCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TrinityCore/TrinityCore/teams","hooks_url":"https://api.github.com/repos/TrinityCore/TrinityCore/hooks","issue_events_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/events{/number}","events_url":"https://api.github.com/repos/TrinityCore/TrinityCore/events","assignees_url":"https://api.github.com/repos/TrinityCore/TrinityCore/assignees{/user}","branches_url":"https://api.github.com/repos/TrinityCore/TrinityCore/branches{/branch}","tags_url":"https://api.github.com/repos/TrinityCore/TrinityCore/tags","blobs_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/{sha}","languages_url":"https://api.github.com/repos/TrinityCore/TrinityCore/languages","stargazers_url":"https://api.github.com/repos/TrinityCore/TrinityCore/stargazers","contributors_url":"https://api.github.com/repos/TrinityCore/TrinityCore/contributors","subscribers_url":"https://api.github.com/repos/TrinityCore/TrinityCore/subscribers","subscription_url":"https://api.github.com/repos/TrinityCore/TrinityCore/subscription","commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/TrinityCore/TrinityCore/contents/{+path}","compare_url":"https://api.github.com/repos/TrinityCore/TrinityCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TrinityCore/TrinityCore/merges","archive_url":"https://api.github.com/repos/TrinityCore/TrinityCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TrinityCore/TrinityCore/downloads","issues_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues{/number}","pulls_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls{/number}","milestones_url":"https://api.github.com/repos/TrinityCore/TrinityCore/milestones{/number}","notifications_url":"https://api.github.com/repos/TrinityCore/TrinityCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels{/name}","releases_url":"https://api.github.com/repos/TrinityCore/TrinityCore/releases{/id}","created_at":"2010-12-28T23:40:07Z","updated_at":"2015-07-10T11:43:49Z","pushed_at":"2015-07-12T20:36:38Z","git_url":"git://github.com/TrinityCore/TrinityCore.git","ssh_url":"git@github.com:TrinityCore/TrinityCore.git","clone_url":"https://github.com/TrinityCore/TrinityCore.git","svn_url":"https://github.com/TrinityCore/TrinityCore","homepage":"http://www.trinitycore.org","size":861186,"stargazers_count":2889,"watchers_count":2889,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3007,"mirror_url":null,"open_issues_count":1076,"forks":3007,"open_issues":1076,"watchers":2889,"default_branch":"6.x"}},"_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15060"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/15060"},"issue":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15060"},"comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15060/comments"},"review_comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15060/comments"},"review_comment":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15060/commits"},"statuses":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/99ed24b825791ee655fe4aea70dc1542bf843cdc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":36,"deletions":36,"changed_files":1}}