new notes per second
This commit is contained in:
parent
b0997b5fe4
commit
b9481f1bf9
1 changed files with 3 additions and 1 deletions
|
@ -296,7 +296,9 @@ public class MusicPlayerPlugin extends Bot.Listener {
|
|||
while (currentSong.reachedNextNote()) {
|
||||
final Note note = currentSong.getNextNote();
|
||||
|
||||
if (note.volume == 0 || notesPerSecond > 2500) continue;
|
||||
final int totalCoreBlocks = (bot.config.core.end.x * bot.config.core.end.z) * MathUtilities.clamp(bot.config.core.end.y, 1, bot.world.maxY);
|
||||
|
||||
if (note.volume == 0 || notesPerSecond > totalCoreBlocks * (50 * 20)) continue;
|
||||
|
||||
float key = note.pitch;
|
||||
|
||||
|
|
Loading…
Reference in a new issue