From f61aed9f6c3e21aea165ea1ee08bf06b3136fcf2 Mon Sep 17 00:00:00 2001 From: bm01 Date: Sun, 17 Feb 2013 04:16:16 +0100 Subject: [PATCH] Attempt to fix permanently opened region files This line successfully closes files that are no longer tied to any loaded chunk. It was sometimes problematic on large servers. However, since I'm not completely sure if it doesn't provoke any data loss or error, I've commented it out, waiting for a verification or approval. --- .../nossr50/util/blockmeta/chunkmeta/HashChunkManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java b/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java index 554d811fa..e11936b44 100755 --- a/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java +++ b/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java @@ -219,6 +219,8 @@ public class HashChunkManager implements ChunkManager { removalCheckedMobs.clear(); iteratingMobs = false; } + + // closeChunkStore(world, cx, cz); } }