{"action":"created","comment":{"url":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/comments/24714752","id":24714752,"diff_hunk":"@@ -78,7 +78,7 @@ public function place(Item $item, Block $block, Block $target, $face, $fx, $fy,\n \t\t\t$this->getLevel()->setBlock($block, $this, true, true);\n \n \t\t\treturn true;\n-\t\t}elseif($this->getSide(0)->isTransparent() === false or $this->getSide(0)->getId() === self::FENCE){\n+\t\t}elseif($this->getSide(0)->isTransparent() === false or in_array($this->getSide(0)->getId(),array(self::FENCE,self::GLASS,self::STONE_WALL))){","path":"src/pocketmine/block/Torch.php","position":14,"original_position":14,"commit_id":"198eea71684a4432eb0f3a4ef4f843e4dc329a15","original_commit_id":"198eea71684a4432eb0f3a4ef4f843e4dc329a15","user":{"login":"Yosshi999","id":8027142,"avatar_url":"https://avatars.githubusercontent.com/u/8027142?v=3","gravatar_id":"","url":"https://api.github.com/users/Yosshi999","html_url":"https://github.com/Yosshi999","followers_url":"https://api.github.com/users/Yosshi999/followers","following_url":"https://api.github.com/users/Yosshi999/following{/other_user}","gists_url":"https://api.github.com/users/Yosshi999/gists{/gist_id}","starred_url":"https://api.github.com/users/Yosshi999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yosshi999/subscriptions","organizations_url":"https://api.github.com/users/Yosshi999/orgs","repos_url":"https://api.github.com/users/Yosshi999/repos","events_url":"https://api.github.com/users/Yosshi999/events{/privacy}","received_events_url":"https://api.github.com/users/Yosshi999/received_events","type":"User","site_admin":false},"body":"Do you mean\r\n  array(self::FENCE, ...)\r\nshould be\r\n  [self::FENCE, ...]\r\n?","created_at":"2015-02-14T15:01:29Z","updated_at":"2015-02-14T15:01:29Z","html_url":"https://github.com/PocketMine/PocketMine-MP/pull/2634#discussion_r24714752","pull_request_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/2634","_links":{"self":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/comments/24714752"},"html":{"href":"https://github.com/PocketMine/PocketMine-MP/pull/2634#discussion_r24714752"},"pull_request":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/2634"}}},"pull_request":{"url":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/2634","id":29317920,"html_url":"https://github.com/PocketMine/PocketMine-MP/pull/2634","diff_url":"https://github.com/PocketMine/PocketMine-MP/pull/2634.diff","patch_url":"https://github.com/PocketMine/PocketMine-MP/pull/2634.patch","issue_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/2634","number":2634,"state":"open","locked":false,"title":"Fixed #2615","user":{"login":"Yosshi999","id":8027142,"avatar_url":"https://avatars.githubusercontent.com/u/8027142?v=3","gravatar_id":"","url":"https://api.github.com/users/Yosshi999","html_url":"https://github.com/Yosshi999","followers_url":"https://api.github.com/users/Yosshi999/followers","following_url":"https://api.github.com/users/Yosshi999/following{/other_user}","gists_url":"https://api.github.com/users/Yosshi999/gists{/gist_id}","starred_url":"https://api.github.com/users/Yosshi999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yosshi999/subscriptions","organizations_url":"https://api.github.com/users/Yosshi999/orgs","repos_url":"https://api.github.com/users/Yosshi999/repos","events_url":"https://api.github.com/users/Yosshi999/events{/privacy}","received_events_url":"https://api.github.com/users/Yosshi999/received_events","type":"User","site_admin":false},"body":"enable to place torches on cobblestone walls and glass","created_at":"2015-02-14T08:51:27Z","updated_at":"2015-02-14T15:01:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa0511472eb90d8bf1cad88623433d91b0a69fff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/2634/commits","review_comments_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/2634/comments","review_comment_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/comments/{number}","comments_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/2634/comments","statuses_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/statuses/198eea71684a4432eb0f3a4ef4f843e4dc329a15","head":{"label":"Yosshi999:Yosshi999-patch-1","ref":"Yosshi999-patch-1","sha":"198eea71684a4432eb0f3a4ef4f843e4dc329a15","user":{"login":"Yosshi999","id":8027142,"avatar_url":"https://avatars.githubusercontent.com/u/8027142?v=3","gravatar_id":"","url":"https://api.github.com/users/Yosshi999","html_url":"https://github.com/Yosshi999","followers_url":"https://api.github.com/users/Yosshi999/followers","following_url":"https://api.github.com/users/Yosshi999/following{/other_user}","gists_url":"https://api.github.com/users/Yosshi999/gists{/gist_id}","starred_url":"https://api.github.com/users/Yosshi999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yosshi999/subscriptions","organizations_url":"https://api.github.com/users/Yosshi999/orgs","repos_url":"https://api.github.com/users/Yosshi999/repos","events_url":"https://api.github.com/users/Yosshi999/events{/privacy}","received_events_url":"https://api.github.com/users/Yosshi999/received_events","type":"User","site_admin":false},"repo":{"id":30790787,"name":"PocketMine-MP","full_name":"Yosshi999/PocketMine-MP","owner":{"login":"Yosshi999","id":8027142,"avatar_url":"https://avatars.githubusercontent.com/u/8027142?v=3","gravatar_id":"","url":"https://api.github.com/users/Yosshi999","html_url":"https://github.com/Yosshi999","followers_url":"https://api.github.com/users/Yosshi999/followers","following_url":"https://api.github.com/users/Yosshi999/following{/other_user}","gists_url":"https://api.github.com/users/Yosshi999/gists{/gist_id}","starred_url":"https://api.github.com/users/Yosshi999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yosshi999/subscriptions","organizations_url":"https://api.github.com/users/Yosshi999/orgs","repos_url":"https://api.github.com/users/Yosshi999/repos","events_url":"https://api.github.com/users/Yosshi999/events{/privacy}","received_events_url":"https://api.github.com/users/Yosshi999/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Yosshi999/PocketMine-MP","description":"PocketMine-MP is a server software for Minecraft: Pocket Edition. It has a Plugin API that enables a developer to extend it and add new features, or change default ones","fork":true,"url":"https://api.github.com/repos/Yosshi999/PocketMine-MP","forks_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/forks","keys_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/teams","hooks_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/hooks","issue_events_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/issues/events{/number}","events_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/events","assignees_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/assignees{/user}","branches_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/branches{/branch}","tags_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/tags","blobs_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/statuses/{sha}","languages_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/languages","stargazers_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/stargazers","contributors_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/contributors","subscribers_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/subscribers","subscription_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/subscription","commits_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/issues/comments/{number}","contents_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/contents/{+path}","compare_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/merges","archive_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/downloads","issues_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/issues{/number}","pulls_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/pulls{/number}","milestones_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/milestones{/number}","notifications_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/labels{/name}","releases_url":"https://api.github.com/repos/Yosshi999/PocketMine-MP/releases{/id}","created_at":"2015-02-14T07:57:44Z","updated_at":"2015-02-14T07:57:46Z","pushed_at":"2015-02-14T08:49:24Z","git_url":"git://github.com/Yosshi999/PocketMine-MP.git","ssh_url":"git@github.com:Yosshi999/PocketMine-MP.git","clone_url":"https://github.com/Yosshi999/PocketMine-MP.git","svn_url":"https://github.com/Yosshi999/PocketMine-MP","homepage":"https://www.pocketmine.net/","size":22260,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"PocketMine:master","ref":"master","sha":"9134a699363514f12746e4b5b707a9f6ba88e0e0","user":{"login":"PocketMine","id":3150836,"avatar_url":"https://avatars.githubusercontent.com/u/3150836?v=3","gravatar_id":"","url":"https://api.github.com/users/PocketMine","html_url":"https://github.com/PocketMine","followers_url":"https://api.github.com/users/PocketMine/followers","following_url":"https://api.github.com/users/PocketMine/following{/other_user}","gists_url":"https://api.github.com/users/PocketMine/gists{/gist_id}","starred_url":"https://api.github.com/users/PocketMine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PocketMine/subscriptions","organizations_url":"https://api.github.com/users/PocketMine/orgs","repos_url":"https://api.github.com/users/PocketMine/repos","events_url":"https://api.github.com/users/PocketMine/events{/privacy}","received_events_url":"https://api.github.com/users/PocketMine/received_events","type":"Organization","site_admin":false},"repo":{"id":6287585,"name":"PocketMine-MP","full_name":"PocketMine/PocketMine-MP","owner":{"login":"PocketMine","id":3150836,"avatar_url":"https://avatars.githubusercontent.com/u/3150836?v=3","gravatar_id":"","url":"https://api.github.com/users/PocketMine","html_url":"https://github.com/PocketMine","followers_url":"https://api.github.com/users/PocketMine/followers","following_url":"https://api.github.com/users/PocketMine/following{/other_user}","gists_url":"https://api.github.com/users/PocketMine/gists{/gist_id}","starred_url":"https://api.github.com/users/PocketMine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PocketMine/subscriptions","organizations_url":"https://api.github.com/users/PocketMine/orgs","repos_url":"https://api.github.com/users/PocketMine/repos","events_url":"https://api.github.com/users/PocketMine/events{/privacy}","received_events_url":"https://api.github.com/users/PocketMine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PocketMine/PocketMine-MP","description":"PocketMine-MP is a server software for Minecraft: Pocket Edition. It has a Plugin API that enables a developer to extend it and add new features, or change default ones","fork":false,"url":"https://api.github.com/repos/PocketMine/PocketMine-MP","forks_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/forks","keys_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/teams","hooks_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/hooks","issue_events_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/events{/number}","events_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/events","assignees_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/assignees{/user}","branches_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/branches{/branch}","tags_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/tags","blobs_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/git/refs{/sha}","trees_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/statuses/{sha}","languages_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/languages","stargazers_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/stargazers","contributors_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/contributors","subscribers_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/subscribers","subscription_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/subscription","commits_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/commits{/sha}","git_commits_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/git/commits{/sha}","comments_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/comments{/number}","issue_comment_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/comments/{number}","contents_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/contents/{+path}","compare_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/merges","archive_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/downloads","issues_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues{/number}","pulls_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls{/number}","milestones_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/milestones{/number}","notifications_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/labels{/name}","releases_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/releases{/id}","created_at":"2012-10-19T00:23:48Z","updated_at":"2015-02-14T14:43:02Z","pushed_at":"2015-02-05T11:57:44Z","git_url":"git://github.com/PocketMine/PocketMine-MP.git","ssh_url":"git@github.com:PocketMine/PocketMine-MP.git","clone_url":"https://github.com/PocketMine/PocketMine-MP.git","svn_url":"https://github.com/PocketMine/PocketMine-MP","homepage":"https://www.pocketmine.net/","size":22260,"stargazers_count":505,"watchers_count":505,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":346,"mirror_url":null,"open_issues_count":44,"forks":346,"open_issues":44,"watchers":505,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/2634"},"html":{"href":"https://github.com/PocketMine/PocketMine-MP/pull/2634"},"issue":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/2634"},"comments":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/2634/comments"},"review_comments":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/2634/comments"},"review_comment":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/pulls/2634/commits"},"statuses":{"href":"https://api.github.com/repos/PocketMine/PocketMine-MP/statuses/198eea71684a4432eb0f3a4ef4f843e4dc329a15"}}}}