mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 09:37:29 +00:00
Fix Dialog Alignment Saving. Default is not Bottom
This commit is contained in:
1 parent
c6c212d68e
commit
0ba3092e51
1 file changed
+3
-2
@@ -40,7 +40,7 @@ public class Dialog implements ICompatibilty, IDialog {
|
||||
public boolean showOptionLine = true;
|
||||
|
||||
//0 - Top, 1 - Bottom, 2 (Not implemented yet) - Center
|
||||
public byte alignment = 0;
|
||||
public byte alignment = 1;
|
||||
|
||||
public boolean renderGradual = false;
|
||||
public boolean showPreviousBlocks = true;
|
||||
@@ -186,7 +186,8 @@ public class Dialog implements ICompatibilty, IDialog {
|
||||
compound.setBoolean("DialogDisableEsc", disableEsc);
|
||||
|
||||
compound.setBoolean("DialogDarkScreen", darkenScreen);
|
||||
|
||||
compound.setByte("DialogAlignment", alignment);
|
||||
|
||||
if(sound != null && !sound.isEmpty())
|
||||
compound.setString("DialogSound", sound);
|
||||
|
||||
|
||||
Reference in new issue
Block a user