{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/4229","repository_url":"https://api.github.com/repos/minetest/minetest","labels_url":"https://api.github.com/repos/minetest/minetest/issues/4229/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/4229/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/4229/events","html_url":"https://github.com/minetest/minetest/pull/4229","id":160964163,"number":4229,"title":"Fixes #2658 (Bad get_look_yaw/get_look_pitch)","user":{"login":"raymoo","id":5734399,"avatar_url":"https://avatars.githubusercontent.com/u/5734399?v=3","gravatar_id":"","url":"https://api.github.com/users/raymoo","html_url":"https://github.com/raymoo","followers_url":"https://api.github.com/users/raymoo/followers","following_url":"https://api.github.com/users/raymoo/following{/other_user}","gists_url":"https://api.github.com/users/raymoo/gists{/gist_id}","starred_url":"https://api.github.com/users/raymoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raymoo/subscriptions","organizations_url":"https://api.github.com/users/raymoo/orgs","repos_url":"https://api.github.com/users/raymoo/repos","events_url":"https://api.github.com/users/raymoo/events{/privacy}","received_events_url":"https://api.github.com/users/raymoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minetest/minetest/labels/Bugfix","name":"Bugfix","color":"00cc99"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-06-17T20:00:44Z","updated_at":"2016-06-18T14:41:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/4229","html_url":"https://github.com/minetest/minetest/pull/4229","diff_url":"https://github.com/minetest/minetest/pull/4229.diff","patch_url":"https://github.com/minetest/minetest/pull/4229.patch"},"body":"Deprecates get_look_yaw and get_look_pitch, and introduces get_look_yaw2 and get_look_pitch2.\r\n\r\nI tested both the deprecation message and the new methods, and they appear to work. I tested it with the following mod code:\r\n```\r\nminetest.register_on_chat_message(function(name, message)\r\n\tlocal p = minetest.get_player_by_name(name)\r\n        p:set_look_yaw(p:get_look_yaw())\r\n        p:set_look_pitch(p:get_look_pitch())\r\nend)\r\n```\r\nI added a \"2\" past the getter functions to test the new methods, and removed it to make sure the deprecation message appears (and still has the unintuitive functionality)."},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/226945911","html_url":"https://github.com/minetest/minetest/pull/4229#issuecomment-226945911","issue_url":"https://api.github.com/repos/minetest/minetest/issues/4229","id":226945911,"user":{"login":"est31","id":8872119,"avatar_url":"https://avatars.githubusercontent.com/u/8872119?v=3","gravatar_id":"","url":"https://api.github.com/users/est31","html_url":"https://github.com/est31","followers_url":"https://api.github.com/users/est31/followers","following_url":"https://api.github.com/users/est31/following{/other_user}","gists_url":"https://api.github.com/users/est31/gists{/gist_id}","starred_url":"https://api.github.com/users/est31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/est31/subscriptions","organizations_url":"https://api.github.com/users/est31/orgs","repos_url":"https://api.github.com/users/est31/repos","events_url":"https://api.github.com/users/est31/events{/privacy}","received_events_url":"https://api.github.com/users/est31/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T14:41:06Z","updated_at":"2016-06-18T14:41:06Z","body":"No idea, let's merge it :+1: "}}
{"actor":{"display_login":"est31"}}