mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 13:04:46 +00:00
Added new top alignment feature for dialogs.
This commit is contained in:
1 parent
5e1fdce39b
commit
e0375c251e
2 files changed
+38
-7
No files matched your search
@@ -38,6 +38,7 @@ public class Dialog implements ICompatibilty, IDialog {
|
||||
public boolean disableEsc = false;
|
||||
public boolean darkenScreen = true;
|
||||
public boolean showOptionLine = true;
|
||||
public boolean bottomAligned = false;
|
||||
|
||||
public boolean renderGradual = false;
|
||||
public boolean showPreviousBlocks = true;
|
||||
@@ -96,6 +97,8 @@ public class Dialog implements ICompatibilty, IDialog {
|
||||
darkenScreen = true;
|
||||
}
|
||||
|
||||
bottomAligned = compound.getBoolean("DialogScrollUpwards");
|
||||
|
||||
|
||||
NBTTagList options = compound.getTagList("Options", 10);
|
||||
HashMap<Integer,DialogOption> newoptions = new HashMap<Integer,DialogOption>();
|
||||
|
||||
Reference in new issue
Block a user