{"action":"created","issue":{"url":"https://api.github.com/repos/Einsyui/BuildUtils/issues/2","labels_url":"https://api.github.com/repos/Einsyui/BuildUtils/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Einsyui/BuildUtils/issues/2/comments","events_url":"https://api.github.com/repos/Einsyui/BuildUtils/issues/2/events","html_url":"https://github.com/Einsyui/BuildUtils/issues/2","id":57849255,"number":2,"title":"ArgumentType.INTEGER doesn't support negative values","user":{"login":"Einsyui","id":5251203,"avatar_url":"https://avatars.githubusercontent.com/u/5251203?v=3","gravatar_id":"","url":"https://api.github.com/users/Einsyui","html_url":"https://github.com/Einsyui","followers_url":"https://api.github.com/users/Einsyui/followers","following_url":"https://api.github.com/users/Einsyui/following{/other_user}","gists_url":"https://api.github.com/users/Einsyui/gists{/gist_id}","starred_url":"https://api.github.com/users/Einsyui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Einsyui/subscriptions","organizations_url":"https://api.github.com/users/Einsyui/orgs","repos_url":"https://api.github.com/users/Einsyui/repos","events_url":"https://api.github.com/users/Einsyui/events{/privacy}","received_events_url":"https://api.github.com/users/Einsyui/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Einsyui/BuildUtils/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Einsyui/BuildUtils/labels/todo","name":"todo","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"marzipankaiser","id":2551444,"avatar_url":"https://avatars.githubusercontent.com/u/2551444?v=3","gravatar_id":"","url":"https://api.github.com/users/marzipankaiser","html_url":"https://github.com/marzipankaiser","followers_url":"https://api.github.com/users/marzipankaiser/followers","following_url":"https://api.github.com/users/marzipankaiser/following{/other_user}","gists_url":"https://api.github.com/users/marzipankaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/marzipankaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marzipankaiser/subscriptions","organizations_url":"https://api.github.com/users/marzipankaiser/orgs","repos_url":"https://api.github.com/users/marzipankaiser/repos","events_url":"https://api.github.com/users/marzipankaiser/events{/privacy}","received_events_url":"https://api.github.com/users/marzipankaiser/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-02-16T20:42:56Z","updated_at":"2015-02-17T09:15:31Z","closed_at":null,"body":"ArgumentType.INTEGER seems not to support negative values. It has been recognized using the command \"/bu set <groupname> <x> <y> <z> <world>\". As soon as x, y or z get assigned a negative value, an ArgumentSyntaxException is thrown, even if a syntax like \"/bu set x=3 y=-5 z=-8 group=test\" is used. The following stacktrace is shown in the server console:\r\n![argument_syntax_exception_stacktrace](https://cloud.githubusercontent.com/assets/5251203/6218849/f6afc2be-b622-11e4-993f-4109fd422a28.png)\r\n\r\nAnother issue is that there are problems with catching said exceptions. Although a try-catch statement has been placed around the statement which must cause the exception (commands.handleCommand(...) in Main.java) it still doesn't get caught and causes massive distraction in the server logs by adding a quite long exception stacktrace to it, everytime a command doesn't have the right syntax. This also occurs, when the brackets of a bracketed ArgumentType are forgotten.\r\n"},"comment":{"url":"https://api.github.com/repos/Einsyui/BuildUtils/issues/comments/74637785","html_url":"https://github.com/Einsyui/BuildUtils/issues/2#issuecomment-74637785","issue_url":"https://api.github.com/repos/Einsyui/BuildUtils/issues/2","id":74637785,"user":{"login":"marzipankaiser","id":2551444,"avatar_url":"https://avatars.githubusercontent.com/u/2551444?v=3","gravatar_id":"","url":"https://api.github.com/users/marzipankaiser","html_url":"https://github.com/marzipankaiser","followers_url":"https://api.github.com/users/marzipankaiser/followers","following_url":"https://api.github.com/users/marzipankaiser/following{/other_user}","gists_url":"https://api.github.com/users/marzipankaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/marzipankaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marzipankaiser/subscriptions","organizations_url":"https://api.github.com/users/marzipankaiser/orgs","repos_url":"https://api.github.com/users/marzipankaiser/repos","events_url":"https://api.github.com/users/marzipankaiser/events{/privacy}","received_events_url":"https://api.github.com/users/marzipankaiser/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T09:15:31Z","updated_at":"2015-02-17T09:15:31Z","body":"Will remove the e.printStackTrace() soon..."}}