mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 01:44:27 +00:00
Server-side dialog data fixes.
This commit is contained in:
1 parent
799d54a4dc
commit
c99a4f8439
3 files changed
+18
-8
No files matched your search
+2
-2
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user