Ensure the FlatFile directory exists.

Fixes #1842
This commit is contained in:
Sean Porter 2014-02-09 02:28:59 -08:00 committed by TfT_02
parent 4486261413
commit d63c3fc6d0

View File

@ -374,6 +374,9 @@ public class mcMMO extends JavaPlugin {
getLogger().warning("Failed to rename tools.yml to tools.default.yml!"); getLogger().warning("Failed to rename tools.yml to tools.default.yml!");
} }
} }
File currentFlatfilePath = new File(flatFileDirectory);
currentFlatfilePath.mkdirs();
} }
private void checkForUpdates() { private void checkForUpdates() {