Actually remove from map on unload

This commit is contained in:
NuclearW 2012-05-18 03:12:16 -04:00
parent a1aada0777
commit c1ecd74644

View File

@ -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);
}
}
}