mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Fixed sound volume and pitch being flipped
This commit is contained in:
parent
a0933d8424
commit
7311d39607
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ public interface SoundEmitter {
|
||||||
return getRandomPitch(getReferenceWorld().getRandom());
|
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);
|
playSoundAt(entity, sound, entity.getSoundCategory(), volume, pitch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue