mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Actually remove from map on unload
This commit is contained in:
parent
a1aada0777
commit
c1ecd74644
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user