Skip to content

Commit 8661b02

Browse files
committed
Round of applause to bedrock everyone for shipping git-lfs refs
1 parent 57f376f commit 8661b02

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

Minecraft Version History/Abstract/VersionConfig.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,17 @@ public void TranslateNbt(string path)
2121
foreach (var mode in NbtTranslations)
2222
{
2323
if (mode.ShouldTranslate(path))
24-
mode.Translate(path);
24+
{
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+
}
2535
}
2636
}
2737

0 commit comments

Comments
 (0)