{"action":"created","issue":{"url":"https://api.github.com/repos/Nayruden/Ulysses/issues/449","labels_url":"https://api.github.com/repos/Nayruden/Ulysses/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/Nayruden/Ulysses/issues/449/comments","events_url":"https://api.github.com/repos/Nayruden/Ulysses/issues/449/events","html_url":"https://github.com/Nayruden/Ulysses/issues/449","id":67720795,"number":449,"title":"ULib's hooks.lua breaks Pointshop","user":{"login":"TomatoCo","id":4118694,"avatar_url":"https://avatars.githubusercontent.com/u/4118694?v=3","gravatar_id":"","url":"https://api.github.com/users/TomatoCo","html_url":"https://github.com/TomatoCo","followers_url":"https://api.github.com/users/TomatoCo/followers","following_url":"https://api.github.com/users/TomatoCo/following{/other_user}","gists_url":"https://api.github.com/users/TomatoCo/gists{/gist_id}","starred_url":"https://api.github.com/users/TomatoCo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomatoCo/subscriptions","organizations_url":"https://api.github.com/users/TomatoCo/orgs","repos_url":"https://api.github.com/users/TomatoCo/repos","events_url":"https://api.github.com/users/TomatoCo/events{/privacy}","received_events_url":"https://api.github.com/users/TomatoCo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Nayruden/Ulysses/labels/Invalid","name":"Invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-11T02:14:20Z","updated_at":"2015-04-14T10:41:19Z","closed_at":"2015-04-11T02:21:56Z","body":"Uninstalling ULib and ULX prevents Pointshop from breaking. When they are installed, they cause the following error to be created.\r\n\r\n```\r\n[ERROR] addons/pointshop/lua/pointshop/sv_player_extension.lua:283: attempt to index field 'PS_Items' (a nil value)\r\n1. PS_HasItem - addons/pointshop/lua/pointshop/sv_player_extension.lua:283\r\n2. PS_hasItemEquipped - addons/pointshop/lua/pointshop/sv_player_extension.lua:287\r\n3. fn - addons/pointshop/lua/pointshop/sh_init.lua:145\r\n4. unknown - addons/ulib/lua/ulib/shared/hook.lua:108\r\n```\r\n\r\nA good resolution would be either to fix this bug such that hooks correctly behave as they do before ULib's interference, or to expose the original hook functions so that hooks that require them may use them."},"comment":{"url":"https://api.github.com/repos/Nayruden/Ulysses/issues/comments/92763476","html_url":"https://github.com/Nayruden/Ulysses/issues/449#issuecomment-92763476","issue_url":"https://api.github.com/repos/Nayruden/Ulysses/issues/449","id":92763476,"user":{"login":"MrUnknownGamer","id":8619739,"avatar_url":"https://avatars.githubusercontent.com/u/8619739?v=3","gravatar_id":"","url":"https://api.github.com/users/MrUnknownGamer","html_url":"https://github.com/MrUnknownGamer","followers_url":"https://api.github.com/users/MrUnknownGamer/followers","following_url":"https://api.github.com/users/MrUnknownGamer/following{/other_user}","gists_url":"https://api.github.com/users/MrUnknownGamer/gists{/gist_id}","starred_url":"https://api.github.com/users/MrUnknownGamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrUnknownGamer/subscriptions","organizations_url":"https://api.github.com/users/MrUnknownGamer/orgs","repos_url":"https://api.github.com/users/MrUnknownGamer/repos","events_url":"https://api.github.com/users/MrUnknownGamer/events{/privacy}","received_events_url":"https://api.github.com/users/MrUnknownGamer/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T10:41:19Z","updated_at":"2015-04-14T10:41:19Z","body":"My storing is by MySQL. Not pdata though @yupi2 "}}