Skip to content

Commit 68c7d28

Browse files
committed
Fixed bug in 1.14
1 parent 361770f commit 68c7d28

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.xxmicloxx</groupId>
77
<artifactId>NoteBlockAPI</artifactId>
8-
<version>1.4</version>
8+
<version>1.4.1</version>
99
<name>NoteBlockAPI</name>
1010

1111
<properties>

src/main/java/com/xxmicloxx/NoteBlockAPI/utils/InstrumentUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ public static boolean isCustomInstrument(byte instrument) {
134134
* @return index where an instrument can be added
135135
*/
136136
public static byte getCustomInstrumentFirstIndex() {
137-
if (CompatibilityUtils.getServerVersion() >= 0.0112f) {
138-
return 10;
139-
}
140137
if (CompatibilityUtils.getServerVersion() >= 0.0114f) {
141138
return 16;
142139
}
140+
if (CompatibilityUtils.getServerVersion() >= 0.0112f) {
141+
return 10;
142+
}
143143
return 5;
144144
}
145145

0 commit comments

Comments
 (0)