fix custom sounds mabe

fixes the one with the pitch higher/lower than the 2 octave limit thing
This commit is contained in:
Chayapak 2023-08-09 18:51:43 +07:00
parent d63adca59a
commit 88ceb46d71
3 changed files with 4 additions and 8 deletions

View file

@ -2,6 +2,7 @@
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile default="true" name="Default" enabled="true" />
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />

View file

@ -52,13 +52,8 @@ public class InfoCommand {
.append(Component.text(" (").color(NamedTextColor.DARK_GRAY))
.append(
Component
.text("<3")
.text(":3")
.color(NamedTextColor.RED)
.hoverEvent(
HoverEvent.showText(
Component.text("y e s :)")
)
)
)
.append(Component.text(")").color(NamedTextColor.DARK_GRAY))
.append(Component.text(" and contributors", NamedTextColor.GRAY))

View file

@ -167,9 +167,9 @@ public class NBSConverter {
key += customInstrument.pitch;
}
if (key < 33 || key > 57) {
/* if (key < 33 || key > 57) {
continue;
}
} */
byte layerVolume = 100;
if (nbsLayers.size() > note.layer) {