aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2021-05-09 05:55:08 +0200
committermakamys <makamys@outlook.com>2021-05-09 05:58:42 +0200
commitd13ce46adf63aea6f8d675c85818549eec3b7c90 (patch)
tree54b9cae8b6d45fe99195c05070feae49efbf9f94 /src
parent7720a81dac43270389b38b39ab93c9ad8950aa93 (diff)
downloadNeodymium-d13ce46adf63aea6f8d675c85818549eec3b7c90.tar.gz
Neodymium-d13ce46adf63aea6f8d675c85818549eec3b7c90.tar.bz2
Neodymium-d13ce46adf63aea6f8d675c85818549eec3b7c90.zip
Don't crash on NBT errors
Diffstat (limited to 'src')
-rw-r--r--src/main/java/makamys/lodmod/renderer/LODRegion.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/LODRegion.java b/src/main/java/makamys/lodmod/renderer/LODRegion.java
index 2aff7a6..a99c24a 100644
--- a/src/main/java/makamys/lodmod/renderer/LODRegion.java
+++ b/src/main/java/makamys/lodmod/renderer/LODRegion.java
@@ -63,7 +63,7 @@ public class LODRegion {
try {
NBTTagCompound nbt = CompressedStreamTools.readCompressed(new FileInputStream(saveFile));
return new LODRegion(regionX, regionZ, nbt);
- } catch (IOException e) {
+ } catch (Exception e) {
e.printStackTrace();
}
}