forked from chipmunkmc/chipmunkbot
chip mc moment (music loadign is fixed now)
This commit is contained in:
parent
cdd5b3dc5f
commit
686c7d469a
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ public class SongLoaderThread extends Thread {
|
||||||
bytes = Files.readAllBytes(songPath.toPath());
|
bytes = Files.readAllBytes(songPath.toPath());
|
||||||
name = songPath.getName();
|
name = songPath.getName();
|
||||||
}
|
}
|
||||||
} catch (Exception exception) {
|
} catch (Exception e) {
|
||||||
exception = new SongLoaderException(Component.text(exception.getMessage()), exception);
|
exception = new SongLoaderException(Component.text(e.getMessage()), e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue