mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 00:19:05 +00:00
More Cleanup
This commit is contained in:
1 parent
43bc1eb81f
commit
ae7e7018c5
12 files changed
+39
-42
No files matched your search
@@ -194,7 +194,7 @@ public class NoppesUtil {
|
||||
Dialog dialog = new Dialog();
|
||||
dialog.readNBT(compound);
|
||||
GuiScreen gui = Minecraft.getMinecraft().currentScreen;
|
||||
if(!(gui instanceof GuiDialogInteract)) {
|
||||
if (!(gui instanceof GuiDialogInteract)) {
|
||||
if (ConfigExperimental.ModernGuiSystem) {
|
||||
if (dialog.hasQuest()) {
|
||||
CustomNpcs.proxy.openGui(player, new GuiModernQuestDialog(npc, dialog.getQuest(), dialog, -2));
|
||||
@@ -204,8 +204,7 @@ public class NoppesUtil {
|
||||
} else {
|
||||
CustomNpcs.proxy.openGui(player, new GuiDialogInteract(npc, dialog));
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
GuiDialogInteract dia = (GuiDialogInteract) gui;
|
||||
dia.appendDialog(dialog);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user