mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-24 05:47:59 +01:00
Fixed pitch and volume being swapped for certain sounds
This commit is contained in:
parent
e78c03be98
commit
42cbe2b51f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public interface SoundEmitter {
|
|||
playSoundAt(entity, sound, entity.getSoundCategory(), volume, pitch);
|
||||
}
|
||||
|
||||
static void playSoundAt(Entity entity, SoundEvent sound, SoundCategory category, float pitch, float volume) {
|
||||
static void playSoundAt(Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) {
|
||||
entity.world.playSound(null, entity.getX(), entity.getY(), entity.getZ(), sound, category, volume, pitch);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue