mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
This was a bad idea
This commit is contained in:
parent
c1ecd74644
commit
d0bb7b075e
@ -36,14 +36,6 @@ public class HashChunkletManager implements ChunkletManager {
|
||||
}
|
||||
|
||||
public void chunkUnloaded(int cx, int cz, World world) {
|
||||
boolean found = false;
|
||||
|
||||
for(String key : store.keySet()) {
|
||||
if(key.startsWith(world.getName() + "," + cx + "," + cz)) found = true;
|
||||
}
|
||||
|
||||
if(!found) return;
|
||||
|
||||
File dataDir = new File(world.getWorldFolder(), "mcmmo_data");
|
||||
File cxDir = new File(dataDir, "" + cx);
|
||||
if(!cxDir.exists()) cxDir.mkdir();
|
||||
|
Loading…
Reference in New Issue
Block a user