{"action":"created","comment":{"url":"https://api.github.com/repos/Vazkii/Botania/pulls/comments/25838017","id":25838017,"diff_hunk":"@@ -62,13 +64,24 @@ public boolean collideBurst(IManaBurst burst, EntityThrowable entity, MovingObje\n \t\t\t\t\tif(ConfigHandler.blockBreakParticles)\n \t\t\t\t\t\tentity.worldObj.playAuxSFX(2001, x, y, z, Block.getIdFromBlock(block) + (meta << 12));\n \n-\t\t\t\t\tint dropX = warp ? coords.posX : x;\n-\t\t\t\t\tint dropY = warp ? coords.posY : y;\n-\t\t\t\t\tint dropZ = warp ? coords.posZ : z;\n-\n-\t\t\t\t\tfor(ItemStack stack_ : items)\n-\t\t\t\t\t\tworld.spawnEntityInWorld(new EntityItem(world, dropX + 0.5, dropY + 0.5, dropZ + 0.5, stack_));\n-\n+\t\t\t\t\tif(warp && coords.posY == -1) {\n+\t\t\t\t\t\tif(burst instanceof EntityManaBurst) {\n+\t\t\t\t\t\t\tEntityPlayer sourcePlayer = ((EntityManaBurst) burst).getSourcePlayer();","path":"src/main/java/vazkii/botania/common/item/lens/LensMine.java","position":29,"original_position":29,"commit_id":"39b76578ec1cb3e31f0b2bc0a3858ed703b11a77","original_commit_id":"39b76578ec1cb3e31f0b2bc0a3858ed703b11a77","user":{"login":"ruifung","id":1073945,"avatar_url":"https://avatars.githubusercontent.com/u/1073945?v=3","gravatar_id":"","url":"https://api.github.com/users/ruifung","html_url":"https://github.com/ruifung","followers_url":"https://api.github.com/users/ruifung/followers","following_url":"https://api.github.com/users/ruifung/following{/other_user}","gists_url":"https://api.github.com/users/ruifung/gists{/gist_id}","starred_url":"https://api.github.com/users/ruifung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruifung/subscriptions","organizations_url":"https://api.github.com/users/ruifung/orgs","repos_url":"https://api.github.com/users/ruifung/repos","events_url":"https://api.github.com/users/ruifung/events{/privacy}","received_events_url":"https://api.github.com/users/ruifung/received_events","type":"User","site_admin":false},"body":"Ideally this function would be part of the IManaBurst interface, but I'm refraining from modifying anything in the API package.","created_at":"2015-03-05T03:55:45Z","updated_at":"2015-03-05T03:55:45Z","html_url":"https://github.com/Vazkii/Botania/pull/624#discussion_r25838017","pull_request_url":"https://api.github.com/repos/Vazkii/Botania/pulls/624","_links":{"self":{"href":"https://api.github.com/repos/Vazkii/Botania/pulls/comments/25838017"},"html":{"href":"https://github.com/Vazkii/Botania/pull/624#discussion_r25838017"},"pull_request":{"href":"https://api.github.com/repos/Vazkii/Botania/pulls/624"}}},"pull_request":{"url":"https://api.github.com/repos/Vazkii/Botania/pulls/624","id":30526385,"html_url":"https://github.com/Vazkii/Botania/pull/624","diff_url":"https://github.com/Vazkii/Botania/pull/624.diff","patch_url":"https://github.com/Vazkii/Botania/pull/624.patch","issue_url":"https://api.github.com/repos/Vazkii/Botania/issues/624","number":624,"state":"open","locked":false,"title":"Fix Bore Warp Lens not dropping blocks if fired from Mana Blaster.","user":{"login":"ruifung","id":1073945,"avatar_url":"https://avatars.githubusercontent.com/u/1073945?v=3","gravatar_id":"","url":"https://api.github.com/users/ruifung","html_url":"https://github.com/ruifung","followers_url":"https://api.github.com/users/ruifung/followers","following_url":"https://api.github.com/users/ruifung/following{/other_user}","gists_url":"https://api.github.com/users/ruifung/gists{/gist_id}","starred_url":"https://api.github.com/users/ruifung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruifung/subscriptions","organizations_url":"https://api.github.com/users/ruifung/orgs","repos_url":"https://api.github.com/users/ruifung/repos","events_url":"https://api.github.com/users/ruifung/events{/privacy}","received_events_url":"https://api.github.com/users/ruifung/received_events","type":"User","site_admin":false},"body":"- Add getter to EntityManaBurst to get source player if burst was initialized with a EntityPlayer object.\r\n- Make LensMine add mined items to inventory of EntityPlayer who fired burst, drop on player coords if inventory is full.\r\n\r\nI'm casting to EntityManaBurst because at this point, I am reluctant to change anything in the API, although IManaBurst appears to be internal?","created_at":"2015-03-05T02:59:23Z","updated_at":"2015-03-05T03:55:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53b1ddfe6d071544a0b18d164e0880f93f70ff31","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Vazkii/Botania/pulls/624/commits","review_comments_url":"https://api.github.com/repos/Vazkii/Botania/pulls/624/comments","review_comment_url":"https://api.github.com/repos/Vazkii/Botania/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vazkii/Botania/issues/624/comments","statuses_url":"https://api.github.com/repos/Vazkii/Botania/statuses/39b76578ec1cb3e31f0b2bc0a3858ed703b11a77","head":{"label":"ruifung:BoreWarpFix","ref":"BoreWarpFix","sha":"39b76578ec1cb3e31f0b2bc0a3858ed703b11a77","user":{"login":"ruifung","id":1073945,"avatar_url":"https://avatars.githubusercontent.com/u/1073945?v=3","gravatar_id":"","url":"https://api.github.com/users/ruifung","html_url":"https://github.com/ruifung","followers_url":"https://api.github.com/users/ruifung/followers","following_url":"https://api.github.com/users/ruifung/following{/other_user}","gists_url":"https://api.github.com/users/ruifung/gists{/gist_id}","starred_url":"https://api.github.com/users/ruifung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruifung/subscriptions","organizations_url":"https://api.github.com/users/ruifung/orgs","repos_url":"https://api.github.com/users/ruifung/repos","events_url":"https://api.github.com/users/ruifung/events{/privacy}","received_events_url":"https://api.github.com/users/ruifung/received_events","type":"User","site_admin":false},"repo":{"id":31653336,"name":"Botania","full_name":"ruifung/Botania","owner":{"login":"ruifung","id":1073945,"avatar_url":"https://avatars.githubusercontent.com/u/1073945?v=3","gravatar_id":"","url":"https://api.github.com/users/ruifung","html_url":"https://github.com/ruifung","followers_url":"https://api.github.com/users/ruifung/followers","following_url":"https://api.github.com/users/ruifung/following{/other_user}","gists_url":"https://api.github.com/users/ruifung/gists{/gist_id}","starred_url":"https://api.github.com/users/ruifung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruifung/subscriptions","organizations_url":"https://api.github.com/users/ruifung/orgs","repos_url":"https://api.github.com/users/ruifung/repos","events_url":"https://api.github.com/users/ruifung/events{/privacy}","received_events_url":"https://api.github.com/users/ruifung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruifung/Botania","description":"A magic mod for Minecraft based on nature and plant life.","fork":true,"url":"https://api.github.com/repos/ruifung/Botania","forks_url":"https://api.github.com/repos/ruifung/Botania/forks","keys_url":"https://api.github.com/repos/ruifung/Botania/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruifung/Botania/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruifung/Botania/teams","hooks_url":"https://api.github.com/repos/ruifung/Botania/hooks","issue_events_url":"https://api.github.com/repos/ruifung/Botania/issues/events{/number}","events_url":"https://api.github.com/repos/ruifung/Botania/events","assignees_url":"https://api.github.com/repos/ruifung/Botania/assignees{/user}","branches_url":"https://api.github.com/repos/ruifung/Botania/branches{/branch}","tags_url":"https://api.github.com/repos/ruifung/Botania/tags","blobs_url":"https://api.github.com/repos/ruifung/Botania/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruifung/Botania/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruifung/Botania/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruifung/Botania/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruifung/Botania/statuses/{sha}","languages_url":"https://api.github.com/repos/ruifung/Botania/languages","stargazers_url":"https://api.github.com/repos/ruifung/Botania/stargazers","contributors_url":"https://api.github.com/repos/ruifung/Botania/contributors","subscribers_url":"https://api.github.com/repos/ruifung/Botania/subscribers","subscription_url":"https://api.github.com/repos/ruifung/Botania/subscription","commits_url":"https://api.github.com/repos/ruifung/Botania/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruifung/Botania/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruifung/Botania/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruifung/Botania/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruifung/Botania/contents/{+path}","compare_url":"https://api.github.com/repos/ruifung/Botania/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruifung/Botania/merges","archive_url":"https://api.github.com/repos/ruifung/Botania/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruifung/Botania/downloads","issues_url":"https://api.github.com/repos/ruifung/Botania/issues{/number}","pulls_url":"https://api.github.com/repos/ruifung/Botania/pulls{/number}","milestones_url":"https://api.github.com/repos/ruifung/Botania/milestones{/number}","notifications_url":"https://api.github.com/repos/ruifung/Botania/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruifung/Botania/labels{/name}","releases_url":"https://api.github.com/repos/ruifung/Botania/releases{/id}","created_at":"2015-03-04T11:21:52Z","updated_at":"2015-03-05T02:55:34Z","pushed_at":"2015-03-05T03:07:58Z","git_url":"git://github.com/ruifung/Botania.git","ssh_url":"git@github.com:ruifung/Botania.git","clone_url":"https://github.com/ruifung/Botania.git","svn_url":"https://github.com/ruifung/Botania","homepage":"http://botaniamod.net/","size":22674,"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":"Vazkii:master","ref":"master","sha":"765c1e8d6831c6f5f4c8f52943fd618e709856b0","user":{"login":"Vazkii","id":1794735,"avatar_url":"https://avatars.githubusercontent.com/u/1794735?v=3","gravatar_id":"","url":"https://api.github.com/users/Vazkii","html_url":"https://github.com/Vazkii","followers_url":"https://api.github.com/users/Vazkii/followers","following_url":"https://api.github.com/users/Vazkii/following{/other_user}","gists_url":"https://api.github.com/users/Vazkii/gists{/gist_id}","starred_url":"https://api.github.com/users/Vazkii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vazkii/subscriptions","organizations_url":"https://api.github.com/users/Vazkii/orgs","repos_url":"https://api.github.com/users/Vazkii/repos","events_url":"https://api.github.com/users/Vazkii/events{/privacy}","received_events_url":"https://api.github.com/users/Vazkii/received_events","type":"User","site_admin":false},"repo":{"id":15870488,"name":"Botania","full_name":"Vazkii/Botania","owner":{"login":"Vazkii","id":1794735,"avatar_url":"https://avatars.githubusercontent.com/u/1794735?v=3","gravatar_id":"","url":"https://api.github.com/users/Vazkii","html_url":"https://github.com/Vazkii","followers_url":"https://api.github.com/users/Vazkii/followers","following_url":"https://api.github.com/users/Vazkii/following{/other_user}","gists_url":"https://api.github.com/users/Vazkii/gists{/gist_id}","starred_url":"https://api.github.com/users/Vazkii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vazkii/subscriptions","organizations_url":"https://api.github.com/users/Vazkii/orgs","repos_url":"https://api.github.com/users/Vazkii/repos","events_url":"https://api.github.com/users/Vazkii/events{/privacy}","received_events_url":"https://api.github.com/users/Vazkii/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vazkii/Botania","description":"A magic mod for Minecraft based on nature and plant life.","fork":false,"url":"https://api.github.com/repos/Vazkii/Botania","forks_url":"https://api.github.com/repos/Vazkii/Botania/forks","keys_url":"https://api.github.com/repos/Vazkii/Botania/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vazkii/Botania/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vazkii/Botania/teams","hooks_url":"https://api.github.com/repos/Vazkii/Botania/hooks","issue_events_url":"https://api.github.com/repos/Vazkii/Botania/issues/events{/number}","events_url":"https://api.github.com/repos/Vazkii/Botania/events","assignees_url":"https://api.github.com/repos/Vazkii/Botania/assignees{/user}","branches_url":"https://api.github.com/repos/Vazkii/Botania/branches{/branch}","tags_url":"https://api.github.com/repos/Vazkii/Botania/tags","blobs_url":"https://api.github.com/repos/Vazkii/Botania/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vazkii/Botania/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vazkii/Botania/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vazkii/Botania/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vazkii/Botania/statuses/{sha}","languages_url":"https://api.github.com/repos/Vazkii/Botania/languages","stargazers_url":"https://api.github.com/repos/Vazkii/Botania/stargazers","contributors_url":"https://api.github.com/repos/Vazkii/Botania/contributors","subscribers_url":"https://api.github.com/repos/Vazkii/Botania/subscribers","subscription_url":"https://api.github.com/repos/Vazkii/Botania/subscription","commits_url":"https://api.github.com/repos/Vazkii/Botania/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vazkii/Botania/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vazkii/Botania/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vazkii/Botania/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vazkii/Botania/contents/{+path}","compare_url":"https://api.github.com/repos/Vazkii/Botania/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vazkii/Botania/merges","archive_url":"https://api.github.com/repos/Vazkii/Botania/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vazkii/Botania/downloads","issues_url":"https://api.github.com/repos/Vazkii/Botania/issues{/number}","pulls_url":"https://api.github.com/repos/Vazkii/Botania/pulls{/number}","milestones_url":"https://api.github.com/repos/Vazkii/Botania/milestones{/number}","notifications_url":"https://api.github.com/repos/Vazkii/Botania/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vazkii/Botania/labels{/name}","releases_url":"https://api.github.com/repos/Vazkii/Botania/releases{/id}","created_at":"2014-01-13T14:30:52Z","updated_at":"2015-03-04T18:13:52Z","pushed_at":"2015-03-04T18:13:52Z","git_url":"git://github.com/Vazkii/Botania.git","ssh_url":"git@github.com:Vazkii/Botania.git","clone_url":"https://github.com/Vazkii/Botania.git","svn_url":"https://github.com/Vazkii/Botania","homepage":"http://botaniamod.net/","size":22674,"stargazers_count":127,"watchers_count":127,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":13,"forks":70,"open_issues":13,"watchers":127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vazkii/Botania/pulls/624"},"html":{"href":"https://github.com/Vazkii/Botania/pull/624"},"issue":{"href":"https://api.github.com/repos/Vazkii/Botania/issues/624"},"comments":{"href":"https://api.github.com/repos/Vazkii/Botania/issues/624/comments"},"review_comments":{"href":"https://api.github.com/repos/Vazkii/Botania/pulls/624/comments"},"review_comment":{"href":"https://api.github.com/repos/Vazkii/Botania/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vazkii/Botania/pulls/624/commits"},"statuses":{"href":"https://api.github.com/repos/Vazkii/Botania/statuses/39b76578ec1cb3e31f0b2bc0a3858ed703b11a77"}}}}