mabe put it ^1

This commit is contained in:
Chayapak 2023-10-04 18:13:31 +07:00
parent 2d3a4ccebf
commit e745031c4f

View file

@ -357,7 +357,7 @@ public class MusicPlayerPlugin extends Bot.Listener {
CUSTOM_PITCH_SELECTOR +
" at @s run playsound " +
(!instrument.equals("off") ? instrument : note.instrument.sound) + ".pitch." + notShiftedFloatingPitch +
" record @s ^" + blockPosition + " ^ ^ " +
" record @s ^" + blockPosition + " ^1 ^ " +
note.volume +
" " +
0
@ -379,7 +379,7 @@ public class MusicPlayerPlugin extends Bot.Listener {
(shouldCustomPitch ? SELECTOR : BOTH_SELECTOR) +
" at @s run playsound " +
(!instrument.equals("off") ? instrument : note.shiftedInstrument.sound) +
" record @s ^" + blockPosition + " ^ ^ " +
" record @s ^" + blockPosition + " ^1 ^ " +
note.volume +
" " +
MathUtilities.clamp(floatingPitch, 0, 2)