Small patches
This commit is contained in:
parent
da7b56ad97
commit
543c38bf96
2 changed files with 3 additions and 2 deletions
|
@ -59,8 +59,9 @@ class Mod {
|
|||
if (ct.containsKey("hash")) hash = ct.get("hash")!.asString();
|
||||
|
||||
bool enabled = true;
|
||||
if (ct.containsKey("enabled"))
|
||||
if (ct.containsKey("enabled")) {
|
||||
enabled = NbtUtils.readBoolean(tag, "enabled");
|
||||
}
|
||||
|
||||
String comment = "";
|
||||
if (ct.containsKey("comment")) comment = ct.get("comment")!.asString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue