Skip to content

Commit

Permalink
add ogg support
Browse files Browse the repository at this point in the history
  • Loading branch information
dudehacker committed Sep 7, 2019
1 parent 0af82da commit c43ebf3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/detective/HitsoundDetective.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ public ModResponse mod() {
Set<String> 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);
Expand Down

0 comments on commit c43ebf3

Please sign in to comment.