Fixed bard music bug where music would keep playing, unattached to a particular NPC.

This commit is contained in:
Luis C.M. committed 2024-05-16 02:01:04 -05:00
1 parent 03c45c70c5
commit a88f814c7a
7 files changed
+92 -16

No files matched your search

@@ -113,6 +113,12 @@ public class GuiSoundSelection extends SubGuiInterface implements ICustomScrollL
close();
}
@Override
public void close() {
super.close();
MusicController.Instance.stopAllSounds();
}
@Override
public void customScrollClicked(int i, int j, int k, GuiCustomScroll guiCustomScroll) {
if(guiCustomScroll.id == 0){