From c43ebf37dfa43b4eed2c7189167457033bb7782f Mon Sep 17 00:00:00 2001 From: dudehacker Date: Sat, 7 Sep 2019 17:25:45 -0400 Subject: [PATCH] add ogg support --- src/detective/HitsoundDetective.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/detective/HitsoundDetective.java b/src/detective/HitsoundDetective.java index 730011c..b3f577d 100644 --- a/src/detective/HitsoundDetective.java +++ b/src/detective/HitsoundDetective.java @@ -66,11 +66,11 @@ public ModResponse mod() { Set physicalHS = new HashSet<>(); Arrays.stream(hitsounds).forEach(hs -> { physicalHS.add(hs.getName()); - if (!hs.getName().endsWith(".wav")) { - wrongFormatHitSounds.add(hs.getName()); - } +// if (!hs.getName().endsWith(".wav")) { +// wrongFormatHitSounds.add(hs.getName()); +// } }); - wrongFormatHitSounds.forEach(hs -> all.addMistake(new Mistake(MistakeType.WrongFormatHitsound, hs))); +// wrongFormatHitSounds.forEach(hs -> all.addMistake(new Mistake(MistakeType.WrongFormatHitsound, hs))); unusedHitsounds = new HashSet<>(physicalHS); unusedHitsounds.removeAll(usedHitsound);