From 42cbe2b51f8783d18e720d80d0c5b11748f69317 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 9 Oct 2022 18:05:54 +0200 Subject: [PATCH] Fixed pitch and volume being swapped for certain sounds --- .../java/com/minelittlepony/unicopia/util/SoundEmitter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/util/SoundEmitter.java b/src/main/java/com/minelittlepony/unicopia/util/SoundEmitter.java index 905d99e2..f0fc88a7 100644 --- a/src/main/java/com/minelittlepony/unicopia/util/SoundEmitter.java +++ b/src/main/java/com/minelittlepony/unicopia/util/SoundEmitter.java @@ -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); }