{"action":"created","issue":{"url":"https://api.github.com/repos/bensku/Skript/issues/1222","repository_url":"https://api.github.com/repos/bensku/Skript","labels_url":"https://api.github.com/repos/bensku/Skript/issues/1222/labels{/name}","comments_url":"https://api.github.com/repos/bensku/Skript/issues/1222/comments","events_url":"https://api.github.com/repos/bensku/Skript/issues/1222/events","html_url":"https://github.com/bensku/Skript/issues/1222","id":318604284,"number":1222,"title":"NullPointerException when using optional type in parse expression","user":{"login":"TPGamesNL","id":29547183,"avatar_url":"https://avatars2.githubusercontent.com/u/29547183?v=4","gravatar_id":"","url":"https://api.github.com/users/TPGamesNL","html_url":"https://github.com/TPGamesNL","followers_url":"https://api.github.com/users/TPGamesNL/followers","following_url":"https://api.github.com/users/TPGamesNL/following{/other_user}","gists_url":"https://api.github.com/users/TPGamesNL/gists{/gist_id}","starred_url":"https://api.github.com/users/TPGamesNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TPGamesNL/subscriptions","organizations_url":"https://api.github.com/users/TPGamesNL/orgs","repos_url":"https://api.github.com/users/TPGamesNL/repos","events_url":"https://api.github.com/users/TPGamesNL/events{/privacy}","received_events_url":"https://api.github.com/users/TPGamesNL/received_events","type":"User","site_admin":false},"labels":[{"id":338177285,"url":"https://api.github.com/repos/bensku/Skript/labels/bug","name":"bug","color":"b60205","default":true},{"id":822625230,"url":"https://api.github.com/repos/bensku/Skript/labels/priority:%20medium","name":"priority: medium","color":"fffc59","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-28T06:07:46Z","updated_at":"2018-04-28T13:04:19Z","closed_at":null,"author_association":"NONE","body":"When you try something like \r\n[Code](https://pastebin.com/raw/ibnEns2n)\r\nit gives an nullpointerexception when you don't input a type which is between [ ].\r\n[Error](https://pastebin.com/raw/CUHtczn1)\r\nI hope someone can add support for optional types, or at least give an error when (re)loading."},"comment":{"url":"https://api.github.com/repos/bensku/Skript/issues/comments/385174437","html_url":"https://github.com/bensku/Skript/issues/1222#issuecomment-385174437","issue_url":"https://api.github.com/repos/bensku/Skript/issues/1222","id":385174437,"user":{"login":"Snow-Pyon","id":23110519,"avatar_url":"https://avatars0.githubusercontent.com/u/23110519?v=4","gravatar_id":"","url":"https://api.github.com/users/Snow-Pyon","html_url":"https://github.com/Snow-Pyon","followers_url":"https://api.github.com/users/Snow-Pyon/followers","following_url":"https://api.github.com/users/Snow-Pyon/following{/other_user}","gists_url":"https://api.github.com/users/Snow-Pyon/gists{/gist_id}","starred_url":"https://api.github.com/users/Snow-Pyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snow-Pyon/subscriptions","organizations_url":"https://api.github.com/users/Snow-Pyon/orgs","repos_url":"https://api.github.com/users/Snow-Pyon/repos","events_url":"https://api.github.com/users/Snow-Pyon/events{/privacy}","received_events_url":"https://api.github.com/users/Snow-Pyon/received_events","type":"User","site_admin":false},"created_at":"2018-04-28T13:04:19Z","updated_at":"2018-04-28T13:04:19Z","author_association":"COLLABORATOR","body":"I can confirm this bug (it has been a bug since the expression was implemented so)."}}
{"actor":{"display_login":"Snow-Pyon"}}