forked from mirrors/NBTExplorer
Fixed list nodes becoming out of sync with underlying NBT node
This commit is contained in:
parent
36317ba95b
commit
28913deb70
1 changed files with 1 additions and 2 deletions
|
@ -56,8 +56,7 @@ namespace NBTExplorer.Model
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (Tag.Count == 0) {
|
if (Tag.Count == 0) {
|
||||||
Tag = new TagNodeList(type);
|
Tag.ChangeValueType(type);
|
||||||
_container = new ListTagContainer(Tag);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AppendTag(TagDataNode.DefaultTag(type));
|
AppendTag(TagDataNode.DefaultTag(type));
|
||||||
|
|
Loading…
Reference in a new issue