homchom / recode

a utility-focused fabric mod to make DiamondFire development more fun
GNU Lesser General Public License v3.0
27 stars 28 forks source link

Adds the ability for custom instruments to have the names designated in the .nbs file imported. #66

Open mudkip989 opened 11 months ago

mudkip989 commented 11 months ago

Previously (and for a long time) whenever the nbs decoder would load a song with custom instruments, It would ignore the names and use "<Custom Instrument #1>" and so on for each Custom Instrument. With this request, the names are not discarded and are only "<Custom Instrument 1>" and so on, if the string for the name is null, whitespace characters, or empty. This small change allows for custom instruments to be set for the song much faster after importing.