{"action":"created","issue":{"url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/903","repository_url":"https://api.github.com/repos/CitizensDev/Citizens2","labels_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/903/labels{/name}","comments_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/903/comments","events_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/903/events","html_url":"https://github.com/CitizensDev/Citizens2/issues/903","id":173980469,"number":903,"title":"Traits with upper-case letters fail to load","user":{"login":"Darkyenus","id":5280068,"avatar_url":"https://avatars.githubusercontent.com/u/5280068?v=3","gravatar_id":"","url":"https://api.github.com/users/Darkyenus","html_url":"https://github.com/Darkyenus","followers_url":"https://api.github.com/users/Darkyenus/followers","following_url":"https://api.github.com/users/Darkyenus/following{/other_user}","gists_url":"https://api.github.com/users/Darkyenus/gists{/gist_id}","starred_url":"https://api.github.com/users/Darkyenus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darkyenus/subscriptions","organizations_url":"https://api.github.com/users/Darkyenus/orgs","repos_url":"https://api.github.com/users/Darkyenus/repos","events_url":"https://api.github.com/users/Darkyenus/events{/privacy}","received_events_url":"https://api.github.com/users/Darkyenus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-30T10:11:04Z","updated_at":"2016-08-30T10:33:11Z","closed_at":"2016-08-30T10:32:54Z","body":"### Bug report\r\n\r\nCitizens tries to have trait names case-agnostic ([judging by the .toLowerCase() call here](https://github.com/CitizensDev/Citizens2/blob/master/main/src/main/java/net/citizensnpcs/npc/CitizensTraitFactory.java#L154)), but it fails to include lower-case conversions everywhere (no conversions [here](https://github.com/CitizensDev/Citizens2/blob/master/main/src/main/java/net/citizensnpcs/npc/CitizensTraitFactory.java#L166) or [here](https://github.com/CitizensDev/CitizensAPI/blob/master/src/main/java/net/citizensnpcs/api/trait/TraitInfo.java#L31), but it is [here](https://github.com/CitizensDev/CitizensAPI/blob/master/src/main/java/net/citizensnpcs/api/trait/TraitInfo.java#L58)). Due to this bug, traits with upper case names fail to load with unhelpful error message.\r\n\r\n*Version: latest*"},"comment":{"url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/comments/243399448","html_url":"https://github.com/CitizensDev/Citizens2/issues/903#issuecomment-243399448","issue_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/903","id":243399448,"user":{"login":"fullwall","id":626985,"avatar_url":"https://avatars.githubusercontent.com/u/626985?v=3","gravatar_id":"","url":"https://api.github.com/users/fullwall","html_url":"https://github.com/fullwall","followers_url":"https://api.github.com/users/fullwall/followers","following_url":"https://api.github.com/users/fullwall/following{/other_user}","gists_url":"https://api.github.com/users/fullwall/gists{/gist_id}","starred_url":"https://api.github.com/users/fullwall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullwall/subscriptions","organizations_url":"https://api.github.com/users/fullwall/orgs","repos_url":"https://api.github.com/users/fullwall/repos","events_url":"https://api.github.com/users/fullwall/events{/privacy}","received_events_url":"https://api.github.com/users/fullwall/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T10:33:11Z","updated_at":"2016-08-30T10:33:11Z","body":"Fixed."}}
{"actor":{"display_login":"fullwall"}}