Fix Sound Selection menu to be SubGui

This commit is contained in:
Kam committed 2023-06-08 11:28:14 -04:00
1 parent cba87f5e3b
commit 823b9bbb27
8 files changed
+13 -15

No files matched your search

@@ -44,7 +44,7 @@ public class SubGuiNpcConversationLine extends SubGuiInterface implements ITextf
protected void actionPerformed(GuiButton guibutton){
int id = guibutton.id;
if(id == 1){
NoppesUtil.openGUI(player, gui = new GuiNpcSoundSelection(npc, parent, sound));
setSubGui(gui = new GuiNpcSoundSelection(parent, sound));
}
if(id == 2){
sound = "";