Add a few more known NBT extensions to the file pattern for directory enumeration. Closes #21. File-based open can already handle all extensions, from #31.

This commit is contained in:
Justin Aquadro 2015-04-18 16:41:58 -04:00
parent 60a7bbf8e9
commit 2882fcde17

View file

@ -16,7 +16,7 @@ namespace NBTExplorer.Model
private CompoundTagContainer _container; private CompoundTagContainer _container;
private static Regex _namePattern = new Regex(@"\.(dat|nbt|schematic)$"); private static Regex _namePattern = new Regex(@"\.(dat|nbt|schematic|dat_mcr|dat_old|bpt|rc)$");
private NbtFileDataNode (string path, CompressionType compressionType) private NbtFileDataNode (string path, CompressionType compressionType)
{ {