{"action":"created","issue":{"url":"https://api.github.com/repos/otland/forgottenserver/issues/1572","labels_url":"https://api.github.com/repos/otland/forgottenserver/issues/1572/labels{/name}","comments_url":"https://api.github.com/repos/otland/forgottenserver/issues/1572/comments","events_url":"https://api.github.com/repos/otland/forgottenserver/issues/1572/events","html_url":"https://github.com/otland/forgottenserver/issues/1572","id":108101369,"number":1572,"title":"problem in onUse() [TFS 1.1.x]","user":{"login":"whitevo","id":10964567,"avatar_url":"https://avatars.githubusercontent.com/u/10964567?v=3","gravatar_id":"","url":"https://api.github.com/users/whitevo","html_url":"https://github.com/whitevo","followers_url":"https://api.github.com/users/whitevo/followers","following_url":"https://api.github.com/users/whitevo/following{/other_user}","gists_url":"https://api.github.com/users/whitevo/gists{/gist_id}","starred_url":"https://api.github.com/users/whitevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitevo/subscriptions","organizations_url":"https://api.github.com/users/whitevo/orgs","repos_url":"https://api.github.com/users/whitevo/repos","events_url":"https://api.github.com/users/whitevo/events{/privacy}","received_events_url":"https://api.github.com/users/whitevo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/otland/forgottenserver/labels/unconfirmed","name":"unconfirmed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-24T10:21:38Z","updated_at":"2016-01-29T22:12:56Z","closed_at":null,"body":"if you use item what is made so it cant be moved:\r\nfunction Player:onMoveItem(item, count, fromPosition, toPosition)\r\nif item:getId() == 2674 then return false end\r\nend\r\n\r\nAnd you try to use it on itemEx, what is not reachable.\r\nThen first you pick up the item and then messages comes.. cant be reached.\r\nBut now you can't move that item out of your bag. because well.. it was supposed to be unmoveable item..\r\n\r\nHow to fix that?"},"comment":{"url":"https://api.github.com/repos/otland/forgottenserver/issues/comments/176992740","html_url":"https://github.com/otland/forgottenserver/issues/1572#issuecomment-176992740","issue_url":"https://api.github.com/repos/otland/forgottenserver/issues/1572","id":176992740,"user":{"login":"marksamman","id":636597,"avatar_url":"https://avatars.githubusercontent.com/u/636597?v=3","gravatar_id":"","url":"https://api.github.com/users/marksamman","html_url":"https://github.com/marksamman","followers_url":"https://api.github.com/users/marksamman/followers","following_url":"https://api.github.com/users/marksamman/following{/other_user}","gists_url":"https://api.github.com/users/marksamman/gists{/gist_id}","starred_url":"https://api.github.com/users/marksamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marksamman/subscriptions","organizations_url":"https://api.github.com/users/marksamman/orgs","repos_url":"https://api.github.com/users/marksamman/repos","events_url":"https://api.github.com/users/marksamman/events{/privacy}","received_events_url":"https://api.github.com/users/marksamman/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T22:12:56Z","updated_at":"2016-01-29T22:12:56Z","body":"It is, for the case described in this issue. There are more cases where this should be handled, maybe we should just move the event call into internalMoveItem, but it might still be possible to have the item moved by trading it. This issue isn't a high priority or a release blocker for 1.2, so I haven't looked at it and probably won't do so before the 1.2 release, but if you'd like to submit a pull request that addresses all the cases I'll review your proposed solution."}}