Browse Source

Actually remove from map on unload

NuclearW 13 years ago
parent
commit
c1ecd74644

+ 1 - 0
src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java

@@ -55,6 +55,7 @@ public class HashChunkletManager implements ChunkletManager {
             if(store.containsKey(world.getName() + "," + cx + "," + cz + "," + y)) {
                 ChunkletStore out = store.get(world.getName() + "," + cx + "," + cz + "," + y);
                 serializeChunkletStore(out, yFile);
+                store.remove(world.getName() + "," + cx + "," + cz + "," + y);
             }
         }
     }