mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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) {
|
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 dataDir = new File(world.getWorldFolder(), "mcmmo_data");
|
||||||
File cxDir = new File(dataDir, "" + cx);
|
File cxDir = new File(dataDir, "" + cx);
|
||||||
if(!cxDir.exists()) cxDir.mkdir();
|
if(!cxDir.exists()) cxDir.mkdir();
|
||||||
|
Loading…
Reference in New Issue
Block a user