{"action":"created","issue":{"url":"https://api.github.com/repos/Choumiko/SmartTrains/issues/26","repository_url":"https://api.github.com/repos/Choumiko/SmartTrains","labels_url":"https://api.github.com/repos/Choumiko/SmartTrains/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Choumiko/SmartTrains/issues/26/comments","events_url":"https://api.github.com/repos/Choumiko/SmartTrains/issues/26/events","html_url":"https://github.com/Choumiko/SmartTrains/issues/26","id":152054525,"number":26,"title":"__SmartTrains__/Train.lua:187: attempt to index local 'rules' (a boolean value)","user":{"login":"keryja","id":16323751,"avatar_url":"https://avatars.githubusercontent.com/u/16323751?v=3","gravatar_id":"","url":"https://api.github.com/users/keryja","html_url":"https://github.com/keryja","followers_url":"https://api.github.com/users/keryja/followers","following_url":"https://api.github.com/users/keryja/following{/other_user}","gists_url":"https://api.github.com/users/keryja/gists{/gist_id}","starred_url":"https://api.github.com/users/keryja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keryja/subscriptions","organizations_url":"https://api.github.com/users/keryja/orgs","repos_url":"https://api.github.com/users/keryja/repos","events_url":"https://api.github.com/users/keryja/events{/privacy}","received_events_url":"https://api.github.com/users/keryja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-30T21:43:54Z","updated_at":"2016-05-01T09:58:18Z","closed_at":null,"body":"It seems that `rules` on [Train.lua:187](https://github.com/Choumiko/SmartTrains/blob/aa6abb2818dcabd331496217661fecf24459a229/Train.lua#L187) is always either true or false, however it's being accessed as a table.\r\n\r\nMods enabled when error occured:\r\n\r\n* More Locomotives 0.3.0\r\n* The Fat Controller 0.4.13"},"comment":{"url":"https://api.github.com/repos/Choumiko/SmartTrains/issues/comments/216032088","html_url":"https://github.com/Choumiko/SmartTrains/issues/26#issuecomment-216032088","issue_url":"https://api.github.com/repos/Choumiko/SmartTrains/issues/26","id":216032088,"user":{"login":"Choumiko","id":5612780,"avatar_url":"https://avatars.githubusercontent.com/u/5612780?v=3","gravatar_id":"","url":"https://api.github.com/users/Choumiko","html_url":"https://github.com/Choumiko","followers_url":"https://api.github.com/users/Choumiko/followers","following_url":"https://api.github.com/users/Choumiko/following{/other_user}","gists_url":"https://api.github.com/users/Choumiko/gists{/gist_id}","starred_url":"https://api.github.com/users/Choumiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Choumiko/subscriptions","organizations_url":"https://api.github.com/users/Choumiko/orgs","repos_url":"https://api.github.com/users/Choumiko/repos","events_url":"https://api.github.com/users/Choumiko/events{/privacy}","received_events_url":"https://api.github.com/users/Choumiko/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T09:58:18Z","updated_at":"2016-05-01T09:58:18Z","body":"What version are you using? This looks like one of the latest commits from master, which is not released yet, because untested"}}