We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57f376f commit 8661b02Copy full SHA for 8661b02
1 file changed
Minecraft Version History/Abstract/VersionConfig.cs
@@ -21,7 +21,17 @@ public void TranslateNbt(string path)
21
foreach (var mode in NbtTranslations)
22
{
23
if (mode.ShouldTranslate(path))
24
- mode.Translate(path);
+ {
25
+ try
26
27
+ mode.Translate(path);
28
+ }
29
+ catch (InvalidDataException ex)
30
31
+ Console.WriteLine($"Bad NBT file {path}");
32
+ Console.WriteLine(ex.ToString());
33
34
35
}
36
37
0 commit comments