From 2ffbee67baa91f8254fb2f0cc662be5b20c0d8f7 Mon Sep 17 00:00:00 2001
From: Chipmunk <65827213+ChipmunkMC@users.noreply.github.com>
Date: Fri, 9 Jun 2023 10:13:26 -0400
Subject: [PATCH 1/2] fix nbs a bit
---
src/main/java/land/chipmunk/chipmunkbot/song/Instrument.java | 2 +-
src/main/java/land/chipmunk/chipmunkbot/song/NBSConverter.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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) {
From c5920767a86ecc42dcf07f4f3d79c85e89c9bbb3 Mon Sep 17 00:00:00 2001
From: Chipmunk <65827213+ChipmunkMC@users.noreply.github.com>
Date: Fri, 9 Jun 2023 15:42:15 -0400
Subject: [PATCH 2/2] 1.20
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 0b16a23..a267703 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
com.github.steveice10
mcprotocollib
- 1.19.4-math2-SNAPSHOT
+ 1.20-1-SNAPSHOT