{"action":"opened","issue":{"url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/818","repository_url":"https://api.github.com/repos/Xephi/AuthMeReloaded","labels_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/818/comments","events_url":"https://api.github.com/repos/Xephi/AuthMeReloaded/issues/818/events","html_url":"https://github.com/Xephi/AuthMeReloaded/issues/818","id":163528761,"number":818,"title":"Hidden inventory","user":{"login":"NewBestX","id":5319801,"avatar_url":"https://avatars.githubusercontent.com/u/5319801?v=3","gravatar_id":"","url":"https://api.github.com/users/NewBestX","html_url":"https://github.com/NewBestX","followers_url":"https://api.github.com/users/NewBestX/followers","following_url":"https://api.github.com/users/NewBestX/following{/other_user}","gists_url":"https://api.github.com/users/NewBestX/gists{/gist_id}","starred_url":"https://api.github.com/users/NewBestX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NewBestX/subscriptions","organizations_url":"https://api.github.com/users/NewBestX/orgs","repos_url":"https://api.github.com/users/NewBestX/repos","events_url":"https://api.github.com/users/NewBestX/events{/privacy}","received_events_url":"https://api.github.com/users/NewBestX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-02T17:42:39Z","updated_at":"2016-07-02T17:42:39Z","closed_at":null,"body":"Hi!\r\nI have a server selector plugin, that gives everyone a compass every time they go to the Hub world (I am not using bungee, I have multiple worlds and all the selector does is teleport the players to a specific world). I have noticed that if I have `ProtectInventoryBeforeLogIn: true` when the player registers he will have the compass, but will remain hidden until he clicks with his first inventory slot selected (where the compass is).\r\n\r\nI tried setting `ProtectInventoryBeforeLogIn: false`, but then the inventory will still be hidden when he types the login command, and afterwards it will remain hidden until the player clicks with the compass.\r\n\r\nIt works with any item, but with items that do not trigger a special command (like my compass does), you need to open inventory and manually click each slot to reveal the item.\r\n\r\nI taught that perhaps it is some incompatibility with the selector plugin, but I added a command to be executed as console after register that gives the player an item, and still no luck.\r\n\r\nSo, `ProtectInventoryBeforeLogIn: true` - it works with login, won't revel the items with register.\r\n`ProtectInventoryBeforeLogIn: false` - it still hides the items and won't reveal them at all.\r\n\r\nUsing Spigot 1.10, tested with AuthMe 5.2 Beta3 and with build #1173. Using ProtocolLib Build #300 (4.0.2)"}}
{"actor":{"display_login":"NewBestX"}}