openlcb / OpenLCB_Java

A git-managed copy of the SVN-based Java prototype implementation of OpenLCB. This implementation operates inside JMRI.
6 stars 9 forks source link

Fix order of code and mti in OptionalInteractionRejected message #204

Closed bobjacobsen closed 2 years ago

bobjacobsen commented 2 years ago

MessageBuilder was taking the error code and rejected MTI from the wrong fields in the message. This fixes that.