From 23803259752e2039b4664a01fae842dc39d816fe Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Sun, 13 Feb 2011 01:33:05 +0100 Subject: [PATCH] Added automatically creating tiles directory. --- src/main/java/org/dynmap/DynmapPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/dynmap/DynmapPlugin.java b/src/main/java/org/dynmap/DynmapPlugin.java index 5336b17d..fe05aecf 100644 --- a/src/main/java/org/dynmap/DynmapPlugin.java +++ b/src/main/java/org/dynmap/DynmapPlugin.java @@ -60,6 +60,7 @@ public class DynmapPlugin extends JavaPlugin { configuration.load(); tilesDirectory = getFile(configuration.getString("tilespath", "web/tiles")); + tilesDirectory.mkdirs(); playerList = new PlayerList(getServer()); playerList.load();