forked from ChomeNS/chomens-bot-java
check for note volume == 0 and increase the notes per second
This commit is contained in:
parent
bfc5854cdb
commit
7bfa7d2e75
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ public class MusicPlayerPlugin extends Bot.Listener {
|
|||
while (currentSong.reachedNextNote()) {
|
||||
final Note note = currentSong.getNextNote();
|
||||
|
||||
if (notesPerSecond > 1240) continue;
|
||||
if (note.volume == 0 || notesPerSecond > 2500) continue;
|
||||
|
||||
float key = note.pitch;
|
||||
|
||||
|
|
Loading…
Reference in a new issue