Skip to content

Commit

Permalink
Fix SoundInstance#getStream being given the wrong location
Browse files Browse the repository at this point in the history
Closes #18
  • Loading branch information
Su5eD committed Aug 13, 2023
1 parent 373360d commit 4f23bd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
public interface SoundInstanceMixin extends FabricSoundInstance {
// Override forge method in SoundInstance
default CompletableFuture<AudioStream> getStream(SoundLoader soundBuffers, Sound sound, boolean looping) {
return getAudioStream(soundBuffers, sound.getIdentifier(), looping);
return getAudioStream(soundBuffers, sound.getLocation(), looping);
}
}

0 comments on commit 4f23bd8

Please sign in to comment.