From 66a2140f6f4cbb2fddb3aa4abfd4b8f3339d7fd3 Mon Sep 17 00:00:00 2001 From: wizjany Date: Fri, 5 Apr 2019 12:20:24 -0400 Subject: [PATCH] Show .schem files in tree view. --- NBTModel/Data/Nodes/NbtFileDataNode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NBTModel/Data/Nodes/NbtFileDataNode.cs b/NBTModel/Data/Nodes/NbtFileDataNode.cs index 866d812..1fd9450 100644 --- a/NBTModel/Data/Nodes/NbtFileDataNode.cs +++ b/NBTModel/Data/Nodes/NbtFileDataNode.cs @@ -16,7 +16,7 @@ namespace NBTExplorer.Model private CompoundTagContainer _container; - private static Regex _namePattern = new Regex(@"\.(dat|nbt|schematic|dat_mcr|dat_old|bpt|rc)$"); + private static Regex _namePattern = new Regex(@"\.(dat|nbt|schem(atic)?|dat_mcr|dat_old|bpt|rc)$"); private NbtFileDataNode (string path, CompressionType compressionType) {