Skip to content

Commit

Permalink
fix: reduced the log spam of the mod
Browse files Browse the repository at this point in the history
  • Loading branch information
meza committed Jun 27, 2023
1 parent 4733e93 commit 57e93c1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -23,13 +23,13 @@ private void run(SoundInstance sound, CallbackInfo info) {
String name = sound.getId().toTranslationKey();

if (SoundsBeGoneClient.DisabledSoundMap.contains(id)) {
LOGGER.warn("Disabling the sound: {}", id);
LOGGER.debug("Disabling the sound: {}", id);
SoundsBeGoneClient.analytics.blockedSound(id);
info.cancel();
}

if(MinecraftClient.getInstance().world != null) {
LOGGER.warn("Intercepting the sound: {}", Text.translatable(name));
LOGGER.debug("Intercepting the sound: {}", Text.translatable(name));
SoundMap.put(id, new java.util.Date());
}
}
Expand Down

0 comments on commit 57e93c1

Please sign in to comment.