Fix GUI and SubGUI interaction mumbo jumbo

This commit is contained in:
Kam committed 2023-06-08 13:18:09 -04:00
1 parent cce4e7bcc7
commit 48354225a8
13 files changed
+71 -54

No files matched your search

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