diff --git a/NBTExplorer/Controllers/NodeTreeController.cs b/NBTExplorer/Controllers/NodeTreeController.cs index a7a599d..be4f7ff 100644 --- a/NBTExplorer/Controllers/NodeTreeController.cs +++ b/NBTExplorer/Controllers/NodeTreeController.cs @@ -79,6 +79,16 @@ namespace NBTExplorer.Controllers } } + TagDataNode px = dx.Parent as TagDataNode; + TagDataNode py = dy.Parent as TagDataNode; + if (px != null && py != null) + { + if (px.Tag.GetTagType() == TagType.TAG_LIST || py.Tag.GetTagType() == TagType.TAG_LIST) + { + return 0; + } + } + TagType idx = dx.Tag.GetTagType(); TagType idy = dy.Tag.GetTagType(); int tagOrder = this.OrderForTag(idx).CompareTo(this.OrderForTag(idy));