Răsfoiți Sursa

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.

bm01 12 ani în urmă
părinte
comite
f61aed9f6c

+ 2 - 0
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);
         }
     }