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

@@ -50,7 +50,7 @@ public class GuiNPCLinesEdit extends GuiNPCInterface2 implements IGuiData
{
GuiNpcButton button = (GuiNpcButton) guibutton;
field = getTextField(button.id + 8);
NoppesUtil.openGUI(player, gui = new GuiNpcSoundSelection(npc, this, field.getText()));
setSubGui(gui = new GuiNpcSoundSelection(this, field.getText()));
}
@Override