Add out-of-range wrapping to nbs conversion
This commit is contained in:
parent
072caac26a
commit
2363900c05
1 changed files with 5 additions and 2 deletions
|
@ -147,8 +147,11 @@ public class NBSConverter {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (note.key < 33 || note.key > 57) {
|
||||
continue;
|
||||
while (note.key < 33) {
|
||||
note.key += 12;
|
||||
}
|
||||
while (note.key > 57) {
|
||||
note.key -= 12;
|
||||
}
|
||||
|
||||
byte layerVolume = 100;
|
||||
|
|
Loading…
Reference in a new issue