From 2e40cbf5ea7b42883bd52829157461525b772415 Mon Sep 17 00:00:00 2001 From: lothrazar Date: Fri, 5 Apr 2024 22:58:43 -0700 Subject: [PATCH] sided safety testing --- .../com/lothrazar/cyclic/block/soundmuff/SoundmufflerBlock.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/lothrazar/cyclic/block/soundmuff/SoundmufflerBlock.java b/src/main/java/com/lothrazar/cyclic/block/soundmuff/SoundmufflerBlock.java index 0e08c6e5f..6099b4739 100644 --- a/src/main/java/com/lothrazar/cyclic/block/soundmuff/SoundmufflerBlock.java +++ b/src/main/java/com/lothrazar/cyclic/block/soundmuff/SoundmufflerBlock.java @@ -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