Server-side dialog data fixes.

This commit is contained in:
Luis C.M committed 2022-06-09 02:30:01 -05:00
1 parent 799d54a4dc
commit c99a4f8439
3 files changed
+18 -8

No files matched your search

@@ -15,7 +15,7 @@ import noppes.npcs.controllers.data.DialogImage;
import java.util.ArrayList;
import java.util.Collections;
public class SubGuiNpcVisualOptions extends SubGuiInterface implements ISubGuiListener, ITextfieldListener, ICustomScrollListener {
public class SubGuiNpcDialogVisual extends SubGuiInterface implements ISubGuiListener, ITextfieldListener, ICustomScrollListener {
private final Dialog dialog;
public GuiScreen parent2;
@@ -26,7 +26,7 @@ public class SubGuiNpcVisualOptions extends SubGuiInterface implements ISubGuiLi
private int selected = -1;
private int lastColorClicked = -1;
public SubGuiNpcVisualOptions(Dialog dialog, GuiScreen parent) {
public SubGuiNpcDialogVisual(Dialog dialog, GuiScreen parent) {
this.parent2 = parent;
this.dialog = dialog;
setBackground("menubg.png");
@@ -182,7 +182,7 @@ public class GuiNPCManageDialogs extends GuiNPCInterface2 implements IScrollData
setSubGui(new SubGuiNpcDialogExtra(dialog, this));
}
if(id == 11){
setSubGui(new SubGuiNpcVisualOptions(dialog, this));
setSubGui(new SubGuiNpcDialogVisual(dialog, this));
}
}