{"action":"created","comment":{"url":"https://api.github.com/repos/minetest/minetest/pulls/comments/60825393","id":60825393,"diff_hunk":"@@ -336,7 +336,8 @@ ItemStack ItemStack::addItem(const ItemStack &newitem_,\n \t\tnewitem.clear();\n \t}\n \t// If item name differs, bail out\n-\telse if(name != newitem.name)\n+\telse if(name != newitem.name or","path":"src/inventory.cpp","position":5,"original_position":5,"commit_id":"c0a33074315f0885406b466af59615520946c7af","original_commit_id":"c0a33074315f0885406b466af59615520946c7af","user":{"login":"SmallJoker","id":1497498,"avatar_url":"https://avatars.githubusercontent.com/u/1497498?v=3","gravatar_id":"","url":"https://api.github.com/users/SmallJoker","html_url":"https://github.com/SmallJoker","followers_url":"https://api.github.com/users/SmallJoker/followers","following_url":"https://api.github.com/users/SmallJoker/following{/other_user}","gists_url":"https://api.github.com/users/SmallJoker/gists{/gist_id}","starred_url":"https://api.github.com/users/SmallJoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmallJoker/subscriptions","organizations_url":"https://api.github.com/users/SmallJoker/orgs","repos_url":"https://api.github.com/users/SmallJoker/repos","events_url":"https://api.github.com/users/SmallJoker/events{/privacy}","received_events_url":"https://api.github.com/users/SmallJoker/received_events","type":"User","site_admin":false},"body":"Use `||` - http://dev.minetest.net/Code_style_guidelines#Miscellaneous","created_at":"2016-04-23T08:42:09Z","updated_at":"2016-04-23T08:42:09Z","html_url":"https://github.com/minetest/minetest/pull/4019#discussion_r60825393","pull_request_url":"https://api.github.com/repos/minetest/minetest/pulls/4019","_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments/60825393"},"html":{"href":"https://github.com/minetest/minetest/pull/4019#discussion_r60825393"},"pull_request":{"href":"https://api.github.com/repos/minetest/minetest/pulls/4019"}}},"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/4019","id":67505996,"html_url":"https://github.com/minetest/minetest/pull/4019","diff_url":"https://github.com/minetest/minetest/pull/4019.diff","patch_url":"https://github.com/minetest/minetest/pull/4019.patch","issue_url":"https://api.github.com/repos/minetest/minetest/issues/4019","number":4019,"state":"open","locked":false,"title":"Make ItemStack with different metadata not stackable","user":{"login":"hunterdelyx1","id":5288053,"avatar_url":"https://avatars.githubusercontent.com/u/5288053?v=3","gravatar_id":"","url":"https://api.github.com/users/hunterdelyx1","html_url":"https://github.com/hunterdelyx1","followers_url":"https://api.github.com/users/hunterdelyx1/followers","following_url":"https://api.github.com/users/hunterdelyx1/following{/other_user}","gists_url":"https://api.github.com/users/hunterdelyx1/gists{/gist_id}","starred_url":"https://api.github.com/users/hunterdelyx1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunterdelyx1/subscriptions","organizations_url":"https://api.github.com/users/hunterdelyx1/orgs","repos_url":"https://api.github.com/users/hunterdelyx1/repos","events_url":"https://api.github.com/users/hunterdelyx1/events{/privacy}","received_events_url":"https://api.github.com/users/hunterdelyx1/received_events","type":"User","site_admin":false},"body":"When you are trying to stack items with different meta they stack and added item lose its meta.\r\n\r\nThis pull request forbids stacking such items.","created_at":"2016-04-22T12:49:28Z","updated_at":"2016-04-23T08:42:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"375b13a7c68c529a36e2fbb2fe7f1f2251486c8c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/minetest/minetest/pulls/4019/commits","review_comments_url":"https://api.github.com/repos/minetest/minetest/pulls/4019/comments","review_comment_url":"https://api.github.com/repos/minetest/minetest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/4019/comments","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/c0a33074315f0885406b466af59615520946c7af","head":{"label":"hunterdelyx1:metadata_fix","ref":"metadata_fix","sha":"c0a33074315f0885406b466af59615520946c7af","user":{"login":"hunterdelyx1","id":5288053,"avatar_url":"https://avatars.githubusercontent.com/u/5288053?v=3","gravatar_id":"","url":"https://api.github.com/users/hunterdelyx1","html_url":"https://github.com/hunterdelyx1","followers_url":"https://api.github.com/users/hunterdelyx1/followers","following_url":"https://api.github.com/users/hunterdelyx1/following{/other_user}","gists_url":"https://api.github.com/users/hunterdelyx1/gists{/gist_id}","starred_url":"https://api.github.com/users/hunterdelyx1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunterdelyx1/subscriptions","organizations_url":"https://api.github.com/users/hunterdelyx1/orgs","repos_url":"https://api.github.com/users/hunterdelyx1/repos","events_url":"https://api.github.com/users/hunterdelyx1/events{/privacy}","received_events_url":"https://api.github.com/users/hunterdelyx1/received_events","type":"User","site_admin":false},"repo":{"id":56803396,"name":"minetest","full_name":"hunterdelyx1/minetest","owner":{"login":"hunterdelyx1","id":5288053,"avatar_url":"https://avatars.githubusercontent.com/u/5288053?v=3","gravatar_id":"","url":"https://api.github.com/users/hunterdelyx1","html_url":"https://github.com/hunterdelyx1","followers_url":"https://api.github.com/users/hunterdelyx1/followers","following_url":"https://api.github.com/users/hunterdelyx1/following{/other_user}","gists_url":"https://api.github.com/users/hunterdelyx1/gists{/gist_id}","starred_url":"https://api.github.com/users/hunterdelyx1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunterdelyx1/subscriptions","organizations_url":"https://api.github.com/users/hunterdelyx1/orgs","repos_url":"https://api.github.com/users/hunterdelyx1/repos","events_url":"https://api.github.com/users/hunterdelyx1/events{/privacy}","received_events_url":"https://api.github.com/users/hunterdelyx1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hunterdelyx1/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":true,"url":"https://api.github.com/repos/hunterdelyx1/minetest","forks_url":"https://api.github.com/repos/hunterdelyx1/minetest/forks","keys_url":"https://api.github.com/repos/hunterdelyx1/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hunterdelyx1/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hunterdelyx1/minetest/teams","hooks_url":"https://api.github.com/repos/hunterdelyx1/minetest/hooks","issue_events_url":"https://api.github.com/repos/hunterdelyx1/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/hunterdelyx1/minetest/events","assignees_url":"https://api.github.com/repos/hunterdelyx1/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/hunterdelyx1/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/hunterdelyx1/minetest/tags","blobs_url":"https://api.github.com/repos/hunterdelyx1/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hunterdelyx1/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hunterdelyx1/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/hunterdelyx1/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hunterdelyx1/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/hunterdelyx1/minetest/languages","stargazers_url":"https://api.github.com/repos/hunterdelyx1/minetest/stargazers","contributors_url":"https://api.github.com/repos/hunterdelyx1/minetest/contributors","subscribers_url":"https://api.github.com/repos/hunterdelyx1/minetest/subscribers","subscription_url":"https://api.github.com/repos/hunterdelyx1/minetest/subscription","commits_url":"https://api.github.com/repos/hunterdelyx1/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/hunterdelyx1/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/hunterdelyx1/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/hunterdelyx1/minetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/hunterdelyx1/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/hunterdelyx1/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hunterdelyx1/minetest/merges","archive_url":"https://api.github.com/repos/hunterdelyx1/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hunterdelyx1/minetest/downloads","issues_url":"https://api.github.com/repos/hunterdelyx1/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/hunterdelyx1/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/hunterdelyx1/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/hunterdelyx1/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hunterdelyx1/minetest/labels{/name}","releases_url":"https://api.github.com/repos/hunterdelyx1/minetest/releases{/id}","deployments_url":"https://api.github.com/repos/hunterdelyx1/minetest/deployments","created_at":"2016-04-21T20:23:54Z","updated_at":"2016-04-21T20:23:57Z","pushed_at":"2016-04-22T12:48:00Z","git_url":"git://github.com/hunterdelyx1/minetest.git","ssh_url":"git@github.com:hunterdelyx1/minetest.git","clone_url":"https://github.com/hunterdelyx1/minetest.git","svn_url":"https://github.com/hunterdelyx1/minetest","homepage":"http://minetest.net/","size":47517,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"minetest:master","ref":"master","sha":"7a6502a7a5007e4bed8c1dd10af39d4fa2b296a4","user":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"repo":{"id":2168780,"name":"minetest","full_name":"minetest/minetest","owner":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minetest/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":false,"url":"https://api.github.com/repos/minetest/minetest","forks_url":"https://api.github.com/repos/minetest/minetest/forks","keys_url":"https://api.github.com/repos/minetest/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minetest/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minetest/minetest/teams","hooks_url":"https://api.github.com/repos/minetest/minetest/hooks","issue_events_url":"https://api.github.com/repos/minetest/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/minetest/minetest/events","assignees_url":"https://api.github.com/repos/minetest/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/minetest/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/minetest/minetest/tags","blobs_url":"https://api.github.com/repos/minetest/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minetest/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minetest/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/minetest/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/minetest/minetest/languages","stargazers_url":"https://api.github.com/repos/minetest/minetest/stargazers","contributors_url":"https://api.github.com/repos/minetest/minetest/contributors","subscribers_url":"https://api.github.com/repos/minetest/minetest/subscribers","subscription_url":"https://api.github.com/repos/minetest/minetest/subscription","commits_url":"https://api.github.com/repos/minetest/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/minetest/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/minetest/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/minetest/minetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/minetest/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/minetest/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minetest/minetest/merges","archive_url":"https://api.github.com/repos/minetest/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minetest/minetest/downloads","issues_url":"https://api.github.com/repos/minetest/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/minetest/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/minetest/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/minetest/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minetest/minetest/labels{/name}","releases_url":"https://api.github.com/repos/minetest/minetest/releases{/id}","deployments_url":"https://api.github.com/repos/minetest/minetest/deployments","created_at":"2011-08-07T13:48:36Z","updated_at":"2016-04-22T21:45:02Z","pushed_at":"2016-04-23T08:17:14Z","git_url":"git://github.com/minetest/minetest.git","ssh_url":"git@github.com:minetest/minetest.git","clone_url":"https://github.com/minetest/minetest.git","svn_url":"https://github.com/minetest/minetest","homepage":"http://minetest.net/","size":94823,"stargazers_count":1957,"watchers_count":1957,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":622,"mirror_url":null,"open_issues_count":727,"forks":622,"open_issues":727,"watchers":1957,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/4019"},"html":{"href":"https://github.com/minetest/minetest/pull/4019"},"issue":{"href":"https://api.github.com/repos/minetest/minetest/issues/4019"},"comments":{"href":"https://api.github.com/repos/minetest/minetest/issues/4019/comments"},"review_comments":{"href":"https://api.github.com/repos/minetest/minetest/pulls/4019/comments"},"review_comment":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minetest/minetest/pulls/4019/commits"},"statuses":{"href":"https://api.github.com/repos/minetest/minetest/statuses/c0a33074315f0885406b466af59615520946c7af"}}}}