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;
|
||||
|
||||
if (Tag.Count == 0) {
|
||||
Tag = new TagNodeList(type);
|
||||
_container = new ListTagContainer(Tag);
|
||||
Tag.ChangeValueType(type);
|
||||
}
|
||||
|
||||
AppendTag(TagDataNode.DefaultTag(type));
|
||||
|
|
Loading…
Reference in a new issue