Skip to content

Commit

Permalink
Open the "ROOT" tag by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay113355 committed Mar 2, 2016
1 parent aa58474 commit 7524a7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/mcf/davidee/nbtedit/nbt/NBTTree.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ private boolean deleteNode(Node<NamedNBT> toDelete, Node<NamedNBT> cur){


private void construct() {
root = new Node<>(new NamedNBT("ROOT", (NBTTagCompound)baseTag.copy()));
root = new Node<>(new NamedNBT("ROOT", baseTag.copy()));
root.setDrawChildren(true);
addChildrenToTree(root);
sort(root);
}
Expand Down

0 comments on commit 7524a7f

Please sign in to comment.