diff --git a/src/main/java/org/dynmap/MapManager.java b/src/main/java/org/dynmap/MapManager.java index 18d8f57d..4c172e1d 100644 --- a/src/main/java/org/dynmap/MapManager.java +++ b/src/main/java/org/dynmap/MapManager.java @@ -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()); }