Skip to content

Commit 10b84f8

Browse files
committed
Fix in-game music not playing
Fixes #150 Credits to @Lolothepro for their solution!
1 parent 59440bc commit 10b84f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fabric-sound-api-v1/src/client/java/net/fabricmc/fabric/mixin/client/sound/SoundInstanceMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
public interface SoundInstanceMixin extends FabricSoundInstance {
3232
// Override the Neo method in SoundInstance
3333
default CompletableFuture<AudioStream> getStream(SoundBufferLibrary soundBuffers, Sound sound, boolean looping) {
34-
return getAudioStream(soundBuffers, sound.getLocation(), looping);
34+
return getAudioStream(soundBuffers, sound.getPath(), looping);
3535
}
3636
}

ffapi.gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
loom.platform=neoforge
22
fabric.loom.dontRemap=true
33

4-
implementationVersion=2.0.13
4+
implementationVersion=2.0.14
55

66
versionMc=1.21.1
77
versionForge=21.1.57

0 commit comments

Comments
 (0)