SOME FIXES .

This commit is contained in:
Chayapak 2023-10-15 15:12:39 +07:00
parent e49a05fd8c
commit 81178ffe53

View file

@ -398,7 +398,7 @@ public class MusicPlayerPlugin extends Bot.Listener {
final boolean isBass = note.instrument == Instrument.BASS; final boolean isBass = note.instrument == Instrument.BASS;
final double volume = (isBass ? note.volume * 1.5 : note.volume); final double volume = (isBass ? note.volume * 1.2 : note.volume);
if (shouldCustomPitch) { if (shouldCustomPitch) {
bot.core.run( bot.core.run(
@ -431,7 +431,7 @@ public class MusicPlayerPlugin extends Bot.Listener {
" record @s ^" + blockPosition.getX() + " ^" + blockPosition.getY() + " ^" + blockPosition.getZ() + " " + " record @s ^" + blockPosition.getX() + " ^" + blockPosition.getY() + " ^" + blockPosition.getZ() + " " +
volume + volume +
" " + " " +
MathUtilities.clamp((isBass ? floatingPitch - 1.5 : floatingPitch), 0, 2) MathUtilities.clamp((isBass ? floatingPitch - 0.5 : floatingPitch), 0, 2)
); );
} }