i fuck
This commit is contained in:
parent
26e3a8df7f
commit
62114b39d9
1 changed files with 3 additions and 7 deletions
|
@ -32,10 +32,6 @@ public class MusicPlayerPlugin extends Bot.Listener {
|
|||
public static final String CUSTOM_PITCH_SELECTOR = "@a[tag=!nomusic,tag=!chomens_bot_nomusic,tag=custompitch]";
|
||||
public static final String BOTH_SELECTOR = "@a[tag=!nomusic,tag=!chomens_bot_nomusic]";
|
||||
|
||||
|
||||
private static final float LEFT_STEREO_POSITION = -0.06F;
|
||||
private static final float RIGHT_STEREO_POSITION = 0.06F;
|
||||
|
||||
public static final Path SONG_DIR = Path.of("songs");
|
||||
static {
|
||||
try {
|
||||
|
@ -392,8 +388,8 @@ public class MusicPlayerPlugin extends Bot.Listener {
|
|||
|
||||
final int originalPitch = note.originalPitch;
|
||||
|
||||
if (originalPitch > 62) blockPosition = RIGHT_STEREO_POSITION;
|
||||
else if (originalPitch < 38) blockPosition = LEFT_STEREO_POSITION;
|
||||
if (originalPitch > 60) blockPosition = 0.10F;
|
||||
else if (originalPitch < 40) blockPosition = -0.10F;
|
||||
else blockPosition = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue