{"action":"created","issue":{"url":"https://api.github.com/repos/KaiKikuchi/GriefPreventionPlus/issues/91","repository_url":"https://api.github.com/repos/KaiKikuchi/GriefPreventionPlus","labels_url":"https://api.github.com/repos/KaiKikuchi/GriefPreventionPlus/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/KaiKikuchi/GriefPreventionPlus/issues/91/comments","events_url":"https://api.github.com/repos/KaiKikuchi/GriefPreventionPlus/issues/91/events","html_url":"https://github.com/KaiKikuchi/GriefPreventionPlus/issues/91","id":157347450,"number":91,"title":"Getting Claim via ID for Subdivisions Not Working","user":{"login":"MrWaffleman","id":7519188,"avatar_url":"https://avatars.githubusercontent.com/u/7519188?v=3","gravatar_id":"","url":"https://api.github.com/users/MrWaffleman","html_url":"https://github.com/MrWaffleman","followers_url":"https://api.github.com/users/MrWaffleman/followers","following_url":"https://api.github.com/users/MrWaffleman/following{/other_user}","gists_url":"https://api.github.com/users/MrWaffleman/gists{/gist_id}","starred_url":"https://api.github.com/users/MrWaffleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrWaffleman/subscriptions","organizations_url":"https://api.github.com/users/MrWaffleman/orgs","repos_url":"https://api.github.com/users/MrWaffleman/repos","events_url":"https://api.github.com/users/MrWaffleman/events{/privacy}","received_events_url":"https://api.github.com/users/MrWaffleman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-28T16:55:44Z","updated_at":"2016-05-28T16:59:13Z","closed_at":null,"body":"In my ClaimCreateEvent, I have this piece of code:\r\n`System.out.println(GriefPreventionPlus.getInstance().getDataStore().getClaim(e.getClaim().getID()));`\r\n\r\nIt returns null apparently, I tried doing this with claims that are on the top (not subdivisions), and it worked perfectly fine. The ID is not null either, just the claim, meaning it's a problem within the API itself."},"comment":{"url":"https://api.github.com/repos/KaiKikuchi/GriefPreventionPlus/issues/comments/222318475","html_url":"https://github.com/KaiKikuchi/GriefPreventionPlus/issues/91#issuecomment-222318475","issue_url":"https://api.github.com/repos/KaiKikuchi/GriefPreventionPlus/issues/91","id":222318475,"user":{"login":"KaiKikuchi","id":8842403,"avatar_url":"https://avatars.githubusercontent.com/u/8842403?v=3","gravatar_id":"","url":"https://api.github.com/users/KaiKikuchi","html_url":"https://github.com/KaiKikuchi","followers_url":"https://api.github.com/users/KaiKikuchi/followers","following_url":"https://api.github.com/users/KaiKikuchi/following{/other_user}","gists_url":"https://api.github.com/users/KaiKikuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/KaiKikuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaiKikuchi/subscriptions","organizations_url":"https://api.github.com/users/KaiKikuchi/orgs","repos_url":"https://api.github.com/users/KaiKikuchi/repos","events_url":"https://api.github.com/users/KaiKikuchi/events{/privacy}","received_events_url":"https://api.github.com/users/KaiKikuchi/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T16:59:13Z","updated_at":"2016-05-28T16:59:13Z","body":"Hello. DataStore.getClaim(int id) works with top-level claims only. \r\n\r\nI am not sure why you are trying to get a Claim object from the DataStore when you have the claim object already."}}
{"actor":{"display_login":"KaiKikuchi"}}