forked from chipmunkmc/chipmunkbot
Compare commits
3 commits
ac0437ab48
...
67a6f409af
Author | SHA1 | Date | |
---|---|---|---|
67a6f409af | |||
c5920767a8 | |||
2ffbee67ba |
3 changed files with 3 additions and 3 deletions
2
pom.xml
2
pom.xml
|
@ -29,7 +29,7 @@
|
|||
<dependency>
|
||||
<groupId>com.github.steveice10</groupId>
|
||||
<artifactId>mcprotocollib</artifactId>
|
||||
<version>1.19.4-math2-SNAPSHOT</version>
|
||||
<version>1.20-1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue