We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26b8b0 commit b31698dCopy full SHA for b31698d
1 file changed
src/main/java/net/raphimc/noteblocktool/audio/SoundMap.java
@@ -53,7 +53,13 @@ public class SoundMap {
53
INSTRUMENT_SOUNDS.put(MinecraftInstrument.BANJO, "banjo.ogg");
54
INSTRUMENT_SOUNDS.put(MinecraftInstrument.PLING, "pling.ogg");
55
56
- reload(null);
+ try {
57
+ SoundMap.reload(new File(System.getProperty("user.home"), "Minecraft Note Block Studio/Data/Sounds"));
58
+ } catch (Throwable t) {
59
+ System.err.println("Failed to load custom sounds from Minecraft NoteBlock Studio folder");
60
+ t.printStackTrace();
61
+ reload(null);
62
+ }
63
}
64
65
public static void reload(final File customSoundsFolder) {
0 commit comments