{"action":"opened","number":3329,"pull_request":{"url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls/3329","id":149669534,"html_url":"https://github.com/mcMMO-Dev/mcMMO/pull/3329","diff_url":"https://github.com/mcMMO-Dev/mcMMO/pull/3329.diff","patch_url":"https://github.com/mcMMO-Dev/mcMMO/pull/3329.patch","issue_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/issues/3329","number":3329,"state":"open","locked":false,"title":"If the treasure is an enchanted book, enchant it.","user":{"login":"hoorigan","id":14971345,"avatar_url":"https://avatars3.githubusercontent.com/u/14971345?v=4","gravatar_id":"","url":"https://api.github.com/users/hoorigan","html_url":"https://github.com/hoorigan","followers_url":"https://api.github.com/users/hoorigan/followers","following_url":"https://api.github.com/users/hoorigan/following{/other_user}","gists_url":"https://api.github.com/users/hoorigan/gists{/gist_id}","starred_url":"https://api.github.com/users/hoorigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoorigan/subscriptions","organizations_url":"https://api.github.com/users/hoorigan/orgs","repos_url":"https://api.github.com/users/hoorigan/repos","events_url":"https://api.github.com/users/hoorigan/events{/privacy}","received_events_url":"https://api.github.com/users/hoorigan/received_events","type":"User","site_admin":false},"body":"Added a bit of logic to check and see if the drop is an enchanted book, and if it is, force at least one enchantment to be applied.  As a warning, I'm not a programmer, so I could have incorrectly used the continue statement here.  This requires more experienced eyes and some testing, I'm sure.","created_at":"2017-10-31T00:27:04Z","updated_at":"2017-10-31T00:27:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls/3329/commits","review_comments_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls/3329/comments","review_comment_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/issues/3329/comments","statuses_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/statuses/ec20d69feb3f59e4f38cb225705f0880c3fce313","head":{"label":"hoorigan:patch-1","ref":"patch-1","sha":"ec20d69feb3f59e4f38cb225705f0880c3fce313","user":{"login":"hoorigan","id":14971345,"avatar_url":"https://avatars3.githubusercontent.com/u/14971345?v=4","gravatar_id":"","url":"https://api.github.com/users/hoorigan","html_url":"https://github.com/hoorigan","followers_url":"https://api.github.com/users/hoorigan/followers","following_url":"https://api.github.com/users/hoorigan/following{/other_user}","gists_url":"https://api.github.com/users/hoorigan/gists{/gist_id}","starred_url":"https://api.github.com/users/hoorigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoorigan/subscriptions","organizations_url":"https://api.github.com/users/hoorigan/orgs","repos_url":"https://api.github.com/users/hoorigan/repos","events_url":"https://api.github.com/users/hoorigan/events{/privacy}","received_events_url":"https://api.github.com/users/hoorigan/received_events","type":"User","site_admin":false},"repo":{"id":108923210,"name":"mcMMO","full_name":"hoorigan/mcMMO","owner":{"login":"hoorigan","id":14971345,"avatar_url":"https://avatars3.githubusercontent.com/u/14971345?v=4","gravatar_id":"","url":"https://api.github.com/users/hoorigan","html_url":"https://github.com/hoorigan","followers_url":"https://api.github.com/users/hoorigan/followers","following_url":"https://api.github.com/users/hoorigan/following{/other_user}","gists_url":"https://api.github.com/users/hoorigan/gists{/gist_id}","starred_url":"https://api.github.com/users/hoorigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoorigan/subscriptions","organizations_url":"https://api.github.com/users/hoorigan/orgs","repos_url":"https://api.github.com/users/hoorigan/repos","events_url":"https://api.github.com/users/hoorigan/events{/privacy}","received_events_url":"https://api.github.com/users/hoorigan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hoorigan/mcMMO","description":"The RPG Lover's Mod!","fork":true,"url":"https://api.github.com/repos/hoorigan/mcMMO","forks_url":"https://api.github.com/repos/hoorigan/mcMMO/forks","keys_url":"https://api.github.com/repos/hoorigan/mcMMO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoorigan/mcMMO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoorigan/mcMMO/teams","hooks_url":"https://api.github.com/repos/hoorigan/mcMMO/hooks","issue_events_url":"https://api.github.com/repos/hoorigan/mcMMO/issues/events{/number}","events_url":"https://api.github.com/repos/hoorigan/mcMMO/events","assignees_url":"https://api.github.com/repos/hoorigan/mcMMO/assignees{/user}","branches_url":"https://api.github.com/repos/hoorigan/mcMMO/branches{/branch}","tags_url":"https://api.github.com/repos/hoorigan/mcMMO/tags","blobs_url":"https://api.github.com/repos/hoorigan/mcMMO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoorigan/mcMMO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoorigan/mcMMO/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoorigan/mcMMO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoorigan/mcMMO/statuses/{sha}","languages_url":"https://api.github.com/repos/hoorigan/mcMMO/languages","stargazers_url":"https://api.github.com/repos/hoorigan/mcMMO/stargazers","contributors_url":"https://api.github.com/repos/hoorigan/mcMMO/contributors","subscribers_url":"https://api.github.com/repos/hoorigan/mcMMO/subscribers","subscription_url":"https://api.github.com/repos/hoorigan/mcMMO/subscription","commits_url":"https://api.github.com/repos/hoorigan/mcMMO/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoorigan/mcMMO/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoorigan/mcMMO/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoorigan/mcMMO/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoorigan/mcMMO/contents/{+path}","compare_url":"https://api.github.com/repos/hoorigan/mcMMO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoorigan/mcMMO/merges","archive_url":"https://api.github.com/repos/hoorigan/mcMMO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoorigan/mcMMO/downloads","issues_url":"https://api.github.com/repos/hoorigan/mcMMO/issues{/number}","pulls_url":"https://api.github.com/repos/hoorigan/mcMMO/pulls{/number}","milestones_url":"https://api.github.com/repos/hoorigan/mcMMO/milestones{/number}","notifications_url":"https://api.github.com/repos/hoorigan/mcMMO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoorigan/mcMMO/labels{/name}","releases_url":"https://api.github.com/repos/hoorigan/mcMMO/releases{/id}","deployments_url":"https://api.github.com/repos/hoorigan/mcMMO/deployments","created_at":"2017-10-31T00:20:11Z","updated_at":"2017-10-31T00:20:14Z","pushed_at":"2017-10-31T00:25:20Z","git_url":"git://github.com/hoorigan/mcMMO.git","ssh_url":"git@github.com:hoorigan/mcMMO.git","clone_url":"https://github.com/hoorigan/mcMMO.git","svn_url":"https://github.com/hoorigan/mcMMO","homepage":"http://dev.bukkit.org/server-mods/mcmmo/","size":14445,"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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mcMMO-Dev:master","ref":"master","sha":"307d483323f00384ca86327fb2a57e4ced5c216e","user":{"login":"mcMMO-Dev","id":1429663,"avatar_url":"https://avatars3.githubusercontent.com/u/1429663?v=4","gravatar_id":"","url":"https://api.github.com/users/mcMMO-Dev","html_url":"https://github.com/mcMMO-Dev","followers_url":"https://api.github.com/users/mcMMO-Dev/followers","following_url":"https://api.github.com/users/mcMMO-Dev/following{/other_user}","gists_url":"https://api.github.com/users/mcMMO-Dev/gists{/gist_id}","starred_url":"https://api.github.com/users/mcMMO-Dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcMMO-Dev/subscriptions","organizations_url":"https://api.github.com/users/mcMMO-Dev/orgs","repos_url":"https://api.github.com/users/mcMMO-Dev/repos","events_url":"https://api.github.com/users/mcMMO-Dev/events{/privacy}","received_events_url":"https://api.github.com/users/mcMMO-Dev/received_events","type":"Organization","site_admin":false},"repo":{"id":3112411,"name":"mcMMO","full_name":"mcMMO-Dev/mcMMO","owner":{"login":"mcMMO-Dev","id":1429663,"avatar_url":"https://avatars3.githubusercontent.com/u/1429663?v=4","gravatar_id":"","url":"https://api.github.com/users/mcMMO-Dev","html_url":"https://github.com/mcMMO-Dev","followers_url":"https://api.github.com/users/mcMMO-Dev/followers","following_url":"https://api.github.com/users/mcMMO-Dev/following{/other_user}","gists_url":"https://api.github.com/users/mcMMO-Dev/gists{/gist_id}","starred_url":"https://api.github.com/users/mcMMO-Dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcMMO-Dev/subscriptions","organizations_url":"https://api.github.com/users/mcMMO-Dev/orgs","repos_url":"https://api.github.com/users/mcMMO-Dev/repos","events_url":"https://api.github.com/users/mcMMO-Dev/events{/privacy}","received_events_url":"https://api.github.com/users/mcMMO-Dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mcMMO-Dev/mcMMO","description":"The RPG Lover's Mod!","fork":false,"url":"https://api.github.com/repos/mcMMO-Dev/mcMMO","forks_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/forks","keys_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/teams","hooks_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/hooks","issue_events_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/issues/events{/number}","events_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/events","assignees_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/assignees{/user}","branches_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/branches{/branch}","tags_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/tags","blobs_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/statuses/{sha}","languages_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/languages","stargazers_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/stargazers","contributors_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/contributors","subscribers_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/subscribers","subscription_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/subscription","commits_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/contents/{+path}","compare_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/merges","archive_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/downloads","issues_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/issues{/number}","pulls_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls{/number}","milestones_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/milestones{/number}","notifications_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/labels{/name}","releases_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/releases{/id}","deployments_url":"https://api.github.com/repos/mcMMO-Dev/mcMMO/deployments","created_at":"2012-01-05T18:54:08Z","updated_at":"2017-10-25T12:46:39Z","pushed_at":"2017-10-28T00:31:03Z","git_url":"git://github.com/mcMMO-Dev/mcMMO.git","ssh_url":"git@github.com:mcMMO-Dev/mcMMO.git","clone_url":"https://github.com/mcMMO-Dev/mcMMO.git","svn_url":"https://github.com/mcMMO-Dev/mcMMO","homepage":"http://dev.bukkit.org/server-mods/mcmmo/","size":14445,"stargazers_count":383,"watchers_count":383,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":368,"mirror_url":null,"archived":false,"open_issues_count":445,"forks":368,"open_issues":445,"watchers":383,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls/3329"},"html":{"href":"https://github.com/mcMMO-Dev/mcMMO/pull/3329"},"issue":{"href":"https://api.github.com/repos/mcMMO-Dev/mcMMO/issues/3329"},"comments":{"href":"https://api.github.com/repos/mcMMO-Dev/mcMMO/issues/3329/comments"},"review_comments":{"href":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls/3329/comments"},"review_comment":{"href":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mcMMO-Dev/mcMMO/pulls/3329/commits"},"statuses":{"href":"https://api.github.com/repos/mcMMO-Dev/mcMMO/statuses/ec20d69feb3f59e4f38cb225705f0880c3fce313"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"hoorigan"}}