diff options
author | bowser0000 <bowser0000@gmail.com> | 2022-04-30 13:21:06 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2022-04-30 13:21:06 -0400 |
commit | 7f71df3d99a2c9b318c0b9de7c4e1577af5c9294 (patch) | |
tree | f2be6675429beb12aeaf1f65be1f6353b78deda7 /src/main/java/me | |
parent | 36a30bd1a2097b6ab45c27bd248cbea4e292499f (diff) | |
download | SkyblockMod-7f71df3d99a2c9b318c0b9de7c4e1577af5c9294.tar.gz SkyblockMod-7f71df3d99a2c9b318c0b9de7c4e1577af5c9294.tar.bz2 SkyblockMod-7f71df3d99a2c9b318c0b9de7c4e1577af5c9294.zip |
Fix custom music crash
Re-add line I thought was useless
Diffstat (limited to 'src/main/java/me')
-rw-r--r-- | src/main/java/me/Danker/features/CustomMusic.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/features/CustomMusic.java b/src/main/java/me/Danker/features/CustomMusic.java index 3ea8d1f..717a3ab 100644 --- a/src/main/java/me/Danker/features/CustomMusic.java +++ b/src/main/java/me/Danker/features/CustomMusic.java @@ -263,6 +263,7 @@ public class CustomMusic { public void start() throws UnsupportedAudioFileException, LineUnavailableException, IOException { try { + if (music == null) music = AudioSystem.getClip(); if (!music.isRunning()) { reset(); shuffle(); |