{"action":"opened","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/1538","repository_url":"https://api.github.com/repos/SpongePowered/SpongeCommon","labels_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/1538/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/1538/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/1538/events","html_url":"https://github.com/SpongePowered/SpongeCommon/issues/1538","id":260716766,"number":1538,"title":"Inventory#getProperty doesn't work as expected","user":{"login":"benfah","id":11573260,"avatar_url":"https://avatars1.githubusercontent.com/u/11573260?v=4","gravatar_id":"","url":"https://api.github.com/users/benfah","html_url":"https://github.com/benfah","followers_url":"https://api.github.com/users/benfah/followers","following_url":"https://api.github.com/users/benfah/following{/other_user}","gists_url":"https://api.github.com/users/benfah/gists{/gist_id}","starred_url":"https://api.github.com/users/benfah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfah/subscriptions","organizations_url":"https://api.github.com/users/benfah/orgs","repos_url":"https://api.github.com/users/benfah/repos","events_url":"https://api.github.com/users/benfah/events{/privacy}","received_events_url":"https://api.github.com/users/benfah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-26T18:04:29Z","updated_at":"2017-09-26T18:04:29Z","closed_at":null,"author_association":"NONE","body":"When you build an Inventory, e.g.\r\n`Inventory inv = Inventory.builder().of(InventoryArchetypes.CHEST).property(\"test\", new Identifiable()).build(this);`\r\nand then try to get the Identifiable object by:\r\n`inv.getInventoryProperty(Identifiable.class)`\r\nor:\r\n`inv.getProperty(Identifiable.class, \"test\")`\r\nboth return Optional.empty.\r\n\r\nNormally the Identifiable object should be returned.\r\n\r\nSponge 1.12.2"}}
{"actor":{"display_login":"benfah"}}