Skip to content

Commit

Permalink
quickly patch YAML savefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Nov 5, 2014
1 parent 527b381 commit 168fba6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -254,7 +254,7 @@ public void execute(final ScriptEntry scriptEntry) throws CommandExecutionExcept
}
File fileObj = new File(DenizenAPI.getCurrentInstance().
getDataFolder().getAbsolutePath() + "/" + filename.asString());
fileObj.mkdirs();
fileObj.getParentFile().mkdirs();
FileWriter fw = new FileWriter(DenizenAPI.getCurrentInstance()
.getDataFolder().getAbsolutePath() + "/" + filename.asString());
BufferedWriter writer = new BufferedWriter(fw);
Expand Down

0 comments on commit 168fba6

Please sign in to comment.