Skip to content

Commit

Permalink
sided safety testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lothrazar committed Apr 6, 2024
1 parent 25af3f6 commit 2e40cbf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void onPlaySound(PlaySoundEvent event) {
rebuildSoundWithVolume(event, sound, volume);
}

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

0 comments on commit 2e40cbf

Please sign in to comment.