Fixed sound volume and pitch being flipped

This commit is contained in:
Sollace 2022-10-11 17:17:53 +02:00
parent a0933d8424
commit 7311d39607

View file

@ -25,7 +25,7 @@ public interface SoundEmitter {
return getRandomPitch(getReferenceWorld().getRandom());
}
static void playSoundAt(Entity entity, SoundEvent sound, float pitch, float volume) {
static void playSoundAt(Entity entity, SoundEvent sound, float volume, float pitch) {
playSoundAt(entity, sound, entity.getSoundCategory(), volume, pitch);
}