mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 02:15:11 +00:00
1.5.3 Gradle Update | Add Version Compatibility Changes
Update Version to 1.5.3 Remove Useless String Statements / Comments Add Temporary Fixes to Version Compatibility as permanent fixes
This commit is contained in:
1 parent
32f89f8e92
commit
0732d98ff8
6 files changed
+14
-15
No files matched your search
@@ -67,10 +67,7 @@ public class Dialog implements ICompatibilty, IDialog {
|
||||
else {
|
||||
darkenScreen = true;
|
||||
}
|
||||
// Temporary Remove after Few Versions
|
||||
if(compound.hasKey("DialogDarkenScreen")){
|
||||
compound.removeTag("DialogDarkenScreen");
|
||||
}
|
||||
|
||||
|
||||
NBTTagList options = compound.getTagList("Options", 10);
|
||||
HashMap<Integer,DialogOption> newoptions = new HashMap<Integer,DialogOption>();
|
||||
@@ -104,10 +101,6 @@ public class Dialog implements ICompatibilty, IDialog {
|
||||
compound.setBoolean("DialogDisableEsc", disableEsc);
|
||||
|
||||
compound.setBoolean("DialogDarkScreen", darkenScreen);
|
||||
// Temporary Remove after Few Versions
|
||||
if(compound.hasKey("DialogDarkenScreen")){
|
||||
compound.removeTag("DialogDarkenScreen");
|
||||
}
|
||||
|
||||
if(sound != null && !sound.isEmpty())
|
||||
compound.setString("DialogSound", sound);
|
||||
|
||||
Reference in new issue
Block a user