Added automatically creating tiles directory.

This commit is contained in:
FrozenCow 2011-02-13 01:33:05 +01:00
parent 100f3e0590
commit 2380325975

View File

@ -60,6 +60,7 @@ public class DynmapPlugin extends JavaPlugin {
configuration.load(); configuration.load();
tilesDirectory = getFile(configuration.getString("tilespath", "web/tiles")); tilesDirectory = getFile(configuration.getString("tilespath", "web/tiles"));
tilesDirectory.mkdirs();
playerList = new PlayerList(getServer()); playerList = new PlayerList(getServer());
playerList.load(); playerList.load();