removed warning about used exception var

This commit is contained in:
mazunki 2021-12-31 06:23:25 +01:00
parent 15b1b2891f
commit 4a1887d28b

View file

@ -89,8 +89,11 @@ namespace NBTExplorer.Model
}
}
catch (Exception e) {
if (FormRegistry.MessageBox != null)
if (FormRegistry.MessageBox != null) {
FormRegistry.MessageBox("Not a valid region file.");
} else {
Console.WriteLine(e.ToString());
}
}
}