diff --git a/src/main/java/anticope/rejects/modules/SoundLocator.java b/src/main/java/anticope/rejects/modules/SoundLocator.java index 8973c78..8b68a4e 100644 --- a/src/main/java/anticope/rejects/modules/SoundLocator.java +++ b/src/main/java/anticope/rejects/modules/SoundLocator.java @@ -48,8 +48,10 @@ public class SoundLocator extends Module { private void printSound(SoundInstance sound) { WeightedSoundSet soundSet = mc.getSoundManager().get(sound.getId()); MutableText text; - if (soundSet == null || soundSet.getSubtitle() == null) { + if (soundSet == null) { text = Text.literal(sound.getId().toString()); + } else if (soundSet.getSubtitle() == null) { + text = Text.literal(soundSet.getId().toString()); } else { text = soundSet.getSubtitle().copy(); }