Skip to content

Commit

Permalink
merge 1.16 cliendside fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lothrazar committed Apr 6, 2024
2 parents 3b12e5a + 2e40cbf commit 89d714f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void onPlaySound(PlaySoundEvent event) {
rebuildSoundWithVolume(event, sound, volume);
}

@OnlyIn(Dist.CLIENT)
private static void rebuildSoundWithVolume(PlaySoundEvent event, SoundInstance sound, float newVolume) {
try {
//WARNING": DO NOT USE getVolume anywhere here it just crashes
Expand Down

0 comments on commit 89d714f

Please sign in to comment.