{"action":"created","issue":{"url":"https://api.github.com/repos/QmodsX/ModPE-project/issues/1","labels_url":"https://api.github.com/repos/QmodsX/ModPE-project/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/QmodsX/ModPE-project/issues/1/comments","events_url":"https://api.github.com/repos/QmodsX/ModPE-project/issues/1/events","html_url":"https://github.com/QmodsX/ModPE-project/issues/1","id":118225385,"number":1,"title":"Misplaced line in TE.js","user":{"login":"like2omg","id":8661411,"avatar_url":"https://avatars.githubusercontent.com/u/8661411?v=3","gravatar_id":"","url":"https://api.github.com/users/like2omg","html_url":"https://github.com/like2omg","followers_url":"https://api.github.com/users/like2omg/followers","following_url":"https://api.github.com/users/like2omg/following{/other_user}","gists_url":"https://api.github.com/users/like2omg/gists{/gist_id}","starred_url":"https://api.github.com/users/like2omg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/like2omg/subscriptions","organizations_url":"https://api.github.com/users/like2omg/orgs","repos_url":"https://api.github.com/users/like2omg/repos","events_url":"https://api.github.com/users/like2omg/events{/privacy}","received_events_url":"https://api.github.com/users/like2omg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-21T22:36:36Z","updated_at":"2015-12-29T17:28:36Z","closed_at":null,"body":"This line here is misplaced:\r\n`var rnd = Math.floor(Math.random()*(Explo.length));`\r\nIt should be located right before the `Level.explode` call but still in the if statement for being tapped with a stick, otherwise it will always be the same explosion radius until a new world is generated or something else magical happens."},"comment":{"url":"https://api.github.com/repos/QmodsX/ModPE-project/issues/comments/167835337","html_url":"https://github.com/QmodsX/ModPE-project/issues/1#issuecomment-167835337","issue_url":"https://api.github.com/repos/QmodsX/ModPE-project/issues/1","id":167835337,"user":{"login":"like2omg","id":8661411,"avatar_url":"https://avatars.githubusercontent.com/u/8661411?v=3","gravatar_id":"","url":"https://api.github.com/users/like2omg","html_url":"https://github.com/like2omg","followers_url":"https://api.github.com/users/like2omg/followers","following_url":"https://api.github.com/users/like2omg/following{/other_user}","gists_url":"https://api.github.com/users/like2omg/gists{/gist_id}","starred_url":"https://api.github.com/users/like2omg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/like2omg/subscriptions","organizations_url":"https://api.github.com/users/like2omg/orgs","repos_url":"https://api.github.com/users/like2omg/repos","events_url":"https://api.github.com/users/like2omg/events{/privacy}","received_events_url":"https://api.github.com/users/like2omg/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T17:28:36Z","updated_at":"2015-12-29T17:28:36Z","body":"You're welcome. If you want to make things smaller (and less readable), doing calculations like that within the command call sometimes speed up the program by a non-noticable amount... but many variables used only once after declared (e.g. `var two = 1 + 1;` followed by a `print(two);`) that don't need to be cleaned up or closed manually (sorry file writers) do work... but it is best to keep two separate variants (of course both with versioning) for such speed-minification (so you can edit the readable version then update the shrunk version when the readable one works and see where changes need to be made)."}}