From 943e141d0aec5ae4906b9032c7f518f5f6aaec1f Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:10:40 +0700 Subject: [PATCH] remove debug stuff --- .../chayapak/chomens_bot/song/NBSConverter.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/song/NBSConverter.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/song/NBSConverter.java index 827ed70..9c62067 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/song/NBSConverter.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/song/NBSConverter.java @@ -205,9 +205,6 @@ public class NBSConverter implements Converter { final String bestMatch = outputTitles.size() == 0 ? "" : outputTitles.get(0); - System.out.println("orig ins name: " + name); - System.out.println("best match: " + bestMatch); - for (Map.Entry entry : subtitles.entrySet()) { if (!entry.getValue().equals(bestMatch)) continue; @@ -217,13 +214,6 @@ public class NBSConverter implements Converter { } } -// final Path path = Path.of(customInstrument.file); -// String name = path.getFileName().toString(); -// if (name.endsWith(".ogg")) name = name.substring(0, name.length() - ".ogg".length()); // bad but OK -// name = name.replace("entity.firework.", "entity.firework_rocket."); -// -// System.out.println("after replaced " + name); - instrument = Instrument.of(name); key += customInstrument.pitch;