mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 20:22:28 +00:00
Fix incorrect method used in getStream (#8532)
The original correct method is getPath, but the patch uses getLocation. The former is the actual resource path to the sound OGG file, while the latter is the sound's location. Fixes #8531
This commit is contained in:
1 parent
b0a64ff8ac
commit
3c39a36c26
1 file changed
+1
-1
@@ -8,6 +8,6 @@
|
||||
+ /*================================ FORGE START ================================================*/
|
||||
+
|
||||
+ default java.util.concurrent.CompletableFuture<net.minecraft.client.sounds.AudioStream> getStream(net.minecraft.client.sounds.SoundBufferLibrary soundBuffers, Sound sound, boolean looping) {
|
||||
+ return soundBuffers.m_120204_(sound.m_119787_(), looping);
|
||||
+ return soundBuffers.m_120204_(sound.m_119790_(), looping);
|
||||
+ }
|
||||
}
|
||||
Reference in new issue
Block a user