mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 05:45:03 +00:00
Fixed a couple of client-side dialog data errors.
This commit is contained in:
1 parent
60794592d1
commit
799d54a4dc
2 files changed
+4
-5
No files matched your search
@@ -90,9 +90,6 @@ public class GuiDialogInteract extends GuiNPCInterface implements IGuiClose
|
||||
public GuiDialogInteract(EntityNPCInterface npc, Dialog dialog){
|
||||
super(npc);
|
||||
this.dialog = dialog;
|
||||
appendDialog(dialog);
|
||||
ySize = 238;
|
||||
|
||||
this.renderGradual = dialog.renderGradual;
|
||||
this.showPreviousBlocks = dialog.showPreviousBlocks;
|
||||
this.textSound = dialog.textSound;
|
||||
@@ -108,6 +105,9 @@ public class GuiDialogInteract extends GuiNPCInterface implements IGuiClose
|
||||
this.optionOffsetX = dialog.optionOffsetX;
|
||||
this.optionOffsetY = dialog.optionOffsetY;
|
||||
|
||||
appendDialog(dialog);
|
||||
ySize = 238;
|
||||
|
||||
for (DialogImage dialogImage : dialog.dialogImages.values()) {
|
||||
dialogImages.add(new GuiDialogImage(dialogImage));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user