Force making directories on tile-rendering (needs cleaner fix).

This commit is contained in:
FrozenCow 2011-02-13 23:23:15 +01:00
parent b63369675d
commit 1fc2cdb636

View File

@ -170,9 +170,9 @@ public class MapManager {
File worldTileDirectory = worldTileDirectories.get(world);
if (worldTileDirectory == null) {
worldTileDirectory = new File(DynmapPlugin.tilesDirectory, tile.getWorld().getName());
worldTileDirectory.mkdirs();
worldTileDirectories.put(world, worldTileDirectory);
}
worldTileDirectory.mkdirs();
return new File(worldTileDirectory, tile.getFilename());
}