diff --git a/src/main/java/land/chipmunk/chipmunkbot/song/Instrument.java b/src/main/java/land/chipmunk/chipmunkbot/song/Instrument.java index 1ec83ff..064e029 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/song/Instrument.java +++ b/src/main/java/land/chipmunk/chipmunkbot/song/Instrument.java @@ -27,7 +27,7 @@ public class Instrument { this.id = id; this.name = name; this.offset = offset; - this.sound = name; + this.sound = sound; } private Instrument (int id, String name, int offset) { diff --git a/src/main/java/land/chipmunk/chipmunkbot/song/NBSConverter.java b/src/main/java/land/chipmunk/chipmunkbot/song/NBSConverter.java index 2e5083e..6cf5f1a 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/song/NBSConverter.java +++ b/src/main/java/land/chipmunk/chipmunkbot/song/NBSConverter.java @@ -164,7 +164,7 @@ public class NBSConverter { if (index >= customInstruments.size()) continue; NBSCustomInstrument customInstrument = customInstruments.get(index); instrument = Instrument.of(customInstrument.name); - // key += customInstrument.pitch; + key += customInstrument.pitch; } if (key < 33 || key > 57) {