diff --git a/common/net/minecraftforge/common/ForgeChunkManager.java b/common/net/minecraftforge/common/ForgeChunkManager.java index 6968a0eee..8092a9a83 100644 --- a/common/net/minecraftforge/common/ForgeChunkManager.java +++ b/common/net/minecraftforge/common/ForgeChunkManager.java @@ -577,10 +577,20 @@ public class ForgeChunkManager chunkConstraints.put(mod, modCPT.getInt(25)); } } + catch (Exception e) + { + FMLLog.log(Level.SEVERE, e, "A critical error occured reading the forgeChunkLoading.cfg file, defaults will be used"); + } finally { config.save(); + if (dormantChunkCache == null) + { + dormantChunkCache = CacheBuilder.newBuilder().maximumSize(0).build(); + FMLLog.info("Configured a dormant chunk cache size of 0"); + } } + } /**