Skip to content

Commit

Permalink
Fix in-game music not playing
Browse files Browse the repository at this point in the history
Fixes #150

Credits to @Lolothepro for their solution!
  • Loading branch information
Su5eD committed Sep 28, 2024
1 parent 59440bc commit 10b84f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
public interface SoundInstanceMixin extends FabricSoundInstance {
// Override the Neo method in SoundInstance
default CompletableFuture<AudioStream> getStream(SoundBufferLibrary soundBuffers, Sound sound, boolean looping) {
return getAudioStream(soundBuffers, sound.getLocation(), looping);
return getAudioStream(soundBuffers, sound.getPath(), looping);
}
}
2 changes: 1 addition & 1 deletion ffapi.gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
loom.platform=neoforge
fabric.loom.dontRemap=true

implementationVersion=2.0.13
implementationVersion=2.0.14

versionMc=1.21.1
versionForge=21.1.57
Expand Down

0 comments on commit 10b84f8

Please sign in to comment.