{"action":"closed","issue":{"url":"https://api.github.com/repos/JMRI/JMRI/issues/5346","repository_url":"https://api.github.com/repos/JMRI/JMRI","labels_url":"https://api.github.com/repos/JMRI/JMRI/issues/5346/labels{/name}","comments_url":"https://api.github.com/repos/JMRI/JMRI/issues/5346/comments","events_url":"https://api.github.com/repos/JMRI/JMRI/issues/5346/events","html_url":"https://github.com/JMRI/JMRI/issues/5346","id":323583449,"number":5346,"title":"LocoNet-using scripts need updating","user":{"login":"bobjacobsen","id":2774117,"avatar_url":"https://avatars1.githubusercontent.com/u/2774117?v=4","gravatar_id":"","url":"https://api.github.com/users/bobjacobsen","html_url":"https://github.com/bobjacobsen","followers_url":"https://api.github.com/users/bobjacobsen/followers","following_url":"https://api.github.com/users/bobjacobsen/following{/other_user}","gists_url":"https://api.github.com/users/bobjacobsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bobjacobsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobjacobsen/subscriptions","organizations_url":"https://api.github.com/users/bobjacobsen/orgs","repos_url":"https://api.github.com/users/bobjacobsen/repos","events_url":"https://api.github.com/users/bobjacobsen/events{/privacy}","received_events_url":"https://api.github.com/users/bobjacobsen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-16T11:39:55Z","updated_at":"2018-05-19T13:54:45Z","closed_at":"2018-05-19T13:54:45Z","author_association":"MEMBER","body":"From jmriusers:\r\n\r\n> The code was updated to allow more than one LocoNet. That makes some of those longer. The current line that says \r\n\r\n```\r\njmri.jmrix.loconet.LnTrafficController.instance().addLocoNetListener(0xFF,ln) \r\n```\r\n> needs to be updated (in this case, to use the 1st LocoNet connection): \r\n>\r\n```\r\njmri.InstanceManager.getList(jmri.jmrix.loconet.LocoNetSystemConnectionMemo).get(0).getLnTrafficController().addLocoNetListener(0xFF, ln) \r\n```\r\n\r\nThere are multiple script files with this issue."}}
{"actor":{"display_login":"bobjacobsen"}}