forked from ChomeNS/chomens-bot-java
perfect
This commit is contained in:
parent
97c1d5b963
commit
04a9714b7e
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ public class MusicPlayerPlugin extends Bot.Listener {
|
|||
final float average = (note.pitch + note.volume) / 2;
|
||||
|
||||
if (average > 5) blockPosition = (average - 5) / -5;
|
||||
else if (average < 4) blockPosition = ((average - 4) * -1) / 4;
|
||||
else if (average < 5) blockPosition = ((average - 5) * -1) / 5;
|
||||
}
|
||||
|
||||
bot.core.run(
|
||||
|
|
Loading…
Reference in a new issue