mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-02 04:25:26 +02:00
Actually remove from map on unload
This commit is contained in:
@@ -55,6 +55,7 @@ public class HashChunkletManager implements ChunkletManager {
|
|||||||
if(store.containsKey(world.getName() + "," + cx + "," + cz + "," + y)) {
|
if(store.containsKey(world.getName() + "," + cx + "," + cz + "," + y)) {
|
||||||
ChunkletStore out = store.get(world.getName() + "," + cx + "," + cz + "," + y);
|
ChunkletStore out = store.get(world.getName() + "," + cx + "," + cz + "," + y);
|
||||||
serializeChunkletStore(out, yFile);
|
serializeChunkletStore(out, yFile);
|
||||||
|
store.remove(world.getName() + "," + cx + "," + cz + "," + y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user